In jackson-dataformat-avro, decodeBytes() in both the default native decoder (JacksonAvroParserImpl) and the Apache-decoder variant…
In jackson-dataformat-avro, decodeBytes() in both the default native decoder (JacksonAvroParserImpl) and the Apache-decoder variant (ApacheAvroParserImpl) allocates a byte[] directly from the attacker-controlled length prefix of an Avro bytes value, without checking it against the remaining input or any limit. A payload of about 5 bytes can force an allocation of up to about 2 GB before any data is read, causing an OutOfMemoryError and denial of service. Decimal fields decoded through decodeBytesDecimal are affected the same way. This affects com.fasterxml.jackson.dataformat:jackson-dataformat-avro 2.9.0 through 2.18.11, 2.19.0 through 2.21.7 and 2.22.0 through 2.22.3, and tools.jackson.data
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- FasterXML
- Product
- jackson-dataformat-avro
- CVSS v3.1
- 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Exploitation
- SSVC poc, automatable yes, impact partial
- Fix
- available
- Weakness
- CWE-789
- NVD status
- Received
Why it ranks 46 (High)
- Public exploit code reported
- CVSS v3.1 7.5 high
- SSVC: automatable
- Fix available
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.