GitHub Advisory Database
GHSA-3f7h-mf4q-vrm4
Denial of Service due to parser crash
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.fasterxml.woodstox:woodstox-core | From 6.0.0 before 6.4.0 (fixed in 6.4.0) |
| Maven | com.fasterxml.woodstox:woodstox-core | All versions before 5.4.0 (fixed in 5.4.0) |
References
- 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/x-stream/xstream/issues/304
- https://github.com/FasterXML/woodstox/pull/159
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47434
- https://github.com/FasterXML/woodstox