CVE-2022-40155:
Denial of Service via stack overflow
N/A
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
9/17/2022
Updated
1/31/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS metrics data is empty
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.fasterxml.woodstox:woodstox-core | maven | >= 6.0.0, < 6.4.0 | 6.4.0 |
com.fasterxml.woodstox:woodstox-core | maven | < 5.4.0 | 5.4.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unlimited recursion in DTD parsing. The patch (PR #159) introduced a recursion depth limit in FullDTDReader, indicating this class's parse method was previously vulnerable. The CWE-787 classification appears incorrect; the actual issue was CWE-674 (Uncontrolled Recursion). The affected versions lacked depth checks during DTD processing, making the parse method susceptible to stack overflow via malicious DTDs.