CVE-2023-34617: genson vulnerable to stack exhaustion
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.19971%
CWE
Published
6/14/2023
Updated
11/4/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| com.owlike:genson | maven | <= 1.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The stack trace in the GitHub issue shows recursive calls between JsonReader.beginArray and CollectionConverter.deserialize during nested structure parsing. Both functions lack depth-limiting mechanisms, enabling attackers to craft JSON with excessive nesting depth. This matches CWE-400 (uncontrolled resource consumption) and aligns with fixes in similar libraries like Jackson/GSON that replaced recursion with iteration or added depth tracking.