CVE-2022-42004
Uncontrolled Resource Consumption in FasterXML jackson-databind
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.fasterxml.jackson.core » jackson-databind | >= 2.4.0-rc1, < 2.12.7.1>= 2.13.0, < 2.13.4 | 2.12.7.1, 2.13.4 |
Blast radius
63% of the dependent artifacts (75,941) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 875,911 |
| 2 hops | 2,391,657 |
| 3 hops | 1,412,678 |
| 4 hops | 586,149 |
| 5 hops | 184,240 |
| 6 hops | 52,893 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.renjin » renjin-maven-plugin13,886 usages
- com.fasterxml.jackson.datatype » jackson-datatype-jsr31010,638 usages
- org.springframework.boot » spring-boot-maven-plugin8,665 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- com.fasterxml.jackson.dataformat » jackson-dataformat-yaml6,005 usages
- org.testcontainers » testcontainers4,109 usages
- com.fasterxml.jackson.module » jackson-module-kotlin4,004 usages
- com.fasterxml.jackson.datatype » jackson-datatype-jdk83,840 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.kafka » kafka-clients3,135 usages
- com.fasterxml.jackson.dataformat » jackson-dataformat-xml2,908 usages
- org.apache.spark » spark-core2,899 usages
- org.testcontainers » junit-jupiter2,899 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-42004
- Webhttps://github.com/FasterXML/jackson-databind/issues/3582
- Webhttps://github.com/FasterXML/jackson-databind/commit/063183589218fec19a9293ed2f17ec53ea80ba88
- Webhttps://github.com/FasterXML/jackson-databind/commit/0e37a39502439ecbaa1a5b5188387c01bf7f7fa1
- Webhttps://github.com/FasterXML/jackson-databind/commit/35de19e7144c4df8ab178b800ba86e80c3d84252
- Webhttps://github.com/FasterXML/jackson-databind/commit/cd090979b7ea78c75e4de8a4aed04f7e9fa8deea
- Webhttps://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50490
- Packagehttps://github.com/FasterXML/jackson-databind
- Webhttps://lists.debian.org/debian-lts-announce/2022/11/msg00035.html
- Webhttps://security.gentoo.org/glsa/202210-21
- Webhttps://security.netapp.com/advisory/ntap-20221118-0008
- Webhttps://www.debian.org/security/2022/dsa-5283
