Impact
The asynchronous JSON parser in jackson-core fails to enforce the maxNumberLength constraint, allowing an attacker to submit a number with arbitrary length. This defect causes unbounded memory allocation and, when large numbers are parsed as BigInteger or BigDecimal, can trigger O(n²) processing, exhausting CPU resources and potentially causing an OutOfMemoryError, leading to denial of service. No user privileges or interaction beyond the ability to send JSON data are required, making the attack vector trivial for any untrusted input stream.
Affected Systems
Affecting FasterXML:jackson-core versions 2.15.0 through 2.18.5 and 2.19.0 through 2.21.0, as well as tools.jackson.core:jackson-core 3.0.0 through 3.0.x. Versions earlier than 2.15.0 are unaffected because the StreamReadConstraints feature was introduced in 2.15.0.
Risk and Exploitability
The CVSS score of 6.9 indicates moderate severity. EPSS data is not available, and the vulnerability is not listed in CISA KEV, so the likelihood of widespread exploitation is currently unknown. However, because any component that uses the async parser can be exposed to untrusted JSON, the potential for denial of service remains significant if the affected versions are in production. The vulnerability exploits the inconsistent enforcement of number length across parsing APIs and can be triggered by any HTTP endpoint or messaging system that accepts JSON.
OpenCVE Enrichment