fasterxml/jackson-databind · Security
Uncontrolled Resource Consumption in FasterXML jackson-databind
- GHSA ID
- GHSA-rgv9-q543-rqg4
- CVE ID
- CVE-2022-42004
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 8.2 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
In FasterXML jackson-databind before 2.12.7.1 and in 2.13.x before 2.13.4, resource exhaustion can occur because of a lack of a check in BeanDeserializer._deserializeFromArray to prevent use of deeply nested arrays. This issue can only happen when the UNWRAP_SINGLE_VALUE_ARRAYS feature is explicitly enabled.
CWEs
- CWE-400 · Uncontrolled Resource Consumption
- CWE-502 · Deserialization of Untrusted Data
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-42004 ↗
- https://github.com/FasterXML/jackson-databind/issues/3582 ↗
- https://github.com/FasterXML/jackson-databind/commit/063183589218fec19a9293ed2f17ec53ea80ba88 ↗
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50490 ↗
- https://security.gentoo.org/glsa/202210-21 ↗
- https://www.debian.org/security/2022/dsa-5283 ↗
- https://lists.debian.org/debian-lts-announce/2022/11/msg00035.html ↗
- https://github.com/FasterXML/jackson-databind/commit/35de19e7144c4df8ab178b800ba86e80c3d84252 ↗
- https://github.com/FasterXML/jackson-databind/commit/cd090979b7ea78c75e4de8a4aed04f7e9fa8deea ↗
- https://security.netapp.com/advisory/ntap-20221118-0008 ↗
- https://github.com/FasterXML/jackson-databind/commit/0e37a39502439ecbaa1a5b5188387c01bf7f7fa1 ↗
- https://github.com/advisories/GHSA-rgv9-q543-rqg4 ↗