Description (CNA)
jackson-core contains core low-level incremental ("streaming") parser and generator abstractions used by Jackson Data Processor. From version 3.0.0 to before version 3.1.0, the UTF8DataInputJsonParser, which is used when parsing from a java.io.DataInput source, bypasses the maxNestingDepth constraint (default: 500) defined in StreamReadConstraints. A similar issue was found in ReaderBasedJsonParser. This allows a user to supply a JSON document with excessive nesting, which can cause a StackOverflowError when the structure is processed, leading to a Denial of Service (DoS). This issue has been patched in version 3.1.0.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| FasterXML / jackson-core | affected >= 3.0.0, < 3.1.0 |
CWE
CWE-770
References
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-6v53-7c9g-w56r
- https://github.com/FasterXML/jackson-core/pull/1554
- https://github.com/FasterXML/jackson-core/commit/8b25fd67f20583e75fb09564ce1eaab06cd5a902
ADP enrichment
No English description supplied.
No references supplied.
A flaw was found in jackson-core. A user could exploit this vulnerability by supplying a specially crafted JSON document with excessive nesting. This bypasses a security constraint designed to limit nesting depth, which can cause a system crash (StackOverflowError) when the document is processed. This ultimately leads to a Denial of Service (DoS) for the affected application.