GitHub Advisoryadvisory · Maven
GHSA-3f7h-mf4q-vrm4 Denial of Service due to parser crash
MEDIUM
Official page ↗
- Aliases
- CVE-2022-40152
- Ecosystem
- Maven
- Packages
- com.fasterxml.woodstox:woodstox-core
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-121, CWE-787
- Reviewed
- 2022-09-20
Affected packages
• Maven com.fasterxml.woodstox:woodstox-core: >= 6.0.0, < 6.4.0 → fixed in 6.4.0
• Maven com.fasterxml.woodstox:woodstox-core: < 5.4.0 → fixed in 5.4.0
Description
Those using FasterXML/woodstox to seralize XML data may be vulnerable to Denial of Service attacks (DOS). 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.
This vulnerability is only relevant for users making use of the DTD parsing functionality.
Related
Alias · CVE (1)
- CVE-2022-40152 Those using Woodstox to parse XML data may be vulnerable to Denial of Service attacks (DOS) if DTD support is enabled. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-40152 advisory
- https://github.com/FasterXML/woodstox/issues/157 web
- https://github.com/FasterXML/woodstox/issues/160 web
- https://github.com/x-stream/xstream/issues/304 web
- https://github.com/FasterXML/woodstox/pull/159 web
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47434 web
- https://github.com/FasterXML/woodstox package