medium6.5
CVE-2022-40152
Denial of Service due to parser crash
Impact
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 | Fixed in |
|---|---|---|---|
| maven | com.fasterxml.woodstox:woodstox-core | >= 6.0.0, < 6.4.0 | 6.4.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Xstream | Xstream | before 1.4.20 |
| Fasterxml | Woodstox | before 5.4.0 from 6.0.0 before 6.4.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47434
- https://github.com/x-stream/xstream/issues/304
- https://github.com/advisories/GHSA-3f7h-mf4q-vrm4
- 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