CVE-2022-40152
Vulnerability Summary
Timeline
Description
Those using Woodstox to parse XML data may be vulnerable to Denial of Service attacks (DOS) if DTD support is enabled. If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 19.65%• Percentile: 97%
Techniques & Countermeasures
- CWE-121•Stack-based Buffer Overflow
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- chainguard•druid
< 0
- chainguard•ranger
all
- chainguard•sonarqube-10
< 25.1.0.102122-r0
- chainguard•spark-3.5-scala-2.13
< 3.5.7-r2
- wolfi•druid
< 0
- wolfi•sonarqube-10
< 25.1.0.102122-r0
- debian•libwoodstox-java
all | all | all | all
- fasterxml•woodstox
< 5.4.0 | ≥ 6.0.0, < 6.4.0
- com.fasterxml.woodstox•woodstox-core
≥ 6.0.0, < 6.4.0 | < 5.4.0
- xstream•woodstox
≥ unspecified, < 6.4.0 | ≥ unspecified, < 5.4.0
- xstream•xstream
< 1.4.20
References (9)
- https://github.com/x-stream/xstream/issues/304
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47434
- https://nvd.nist.gov/vuln/detail/CVE-2022-40152
- https://github.com/FasterXML/woodstox/issues/157
- https://github.com/FasterXML/woodstox/issues/160
- https://github.com/FasterXML/woodstox/pull/159
- https://github.com/FasterXML/woodstox
- https://security-tracker.debian.org/tracker/CVE-2022-40152
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40152.json