CVE-2022-42004: Uncontrolled Resource Consumption in FasterXML jackson-databind
(updated )
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.
References
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=50490
- github.com/FasterXML/jackson-databind
- github.com/FasterXML/jackson-databind/commit/063183589218fec19a9293ed2f17ec53ea80ba88
- github.com/FasterXML/jackson-databind/commit/35de19e7144c4df8ab178b800ba86e80c3d84252
- github.com/FasterXML/jackson-databind/commit/cd090979b7ea78c75e4de8a4aed04f7e9fa8deea
- github.com/FasterXML/jackson-databind/issues/3582
- github.com/advisories/GHSA-rgv9-q543-rqg4
- lists.debian.org/debian-lts-announce/2022/11/msg00035.html
- nvd.nist.gov/vuln/detail/CVE-2022-42004
- security.gentoo.org/glsa/202210-21
- security.netapp.com/advisory/ntap-20221118-0008
- www.debian.org/security/2022/dsa-5283
Detect and mitigate CVE-2022-42004 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →