FasterXML jackson-core
cpe:2.3:a:fasterxml:jackson:*:*:*:*:*:*:*
- 3.0.0
A denial-of-service vulnerability has been identified in Jackson Core versions 3.0.0 prior to 3.1.0. The issue arises in the UTF8DataInputJsonParser and ReaderBasedJsonParser, where the parsers bypass the maximum nesting depth constraint defined in StreamReadConstraints. This flaw allows a user to supply a JSON document with excessive nesting, which can lead to a StackOverflowError when processed, causing a denial-of-service condition.
Exploitation of this vulnerability can lead to a StackOverflowError, causing a denial-of-service condition by exhausting resources and potentially crashing the application.
The vulnerability can be reproduced by using a JSON document that has a nesting depth greater than 500. This can be done by creating a JSON file with deeply nested arrays or objects and then parsing it with the UTF8DataInputJsonParser or ReaderBasedJsonParser.
Users are advised to upgrade to Jackson Core version 3.1.0, where this vulnerability has been patched. Instructions for upgrading can be found in the Jackson Core repository on GitHub.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.