CVE-2021-46877
jackson-databind possible Denial of Service if using JDK serialization to serialize JsonNode
Description
jackson-databind 2.10.x through 2.12.x before 2.12.6 and 2.13.x before 2.13.1 allows attackers to cause a denial of service (2 GB transient heap usage per read) in uncommon situations involving JsonNode JDK serialization.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.fasterxml.jackson.core » jackson-databind | >= 2.10.0, < 2.12.6>= 2.13.0, < 2.13.1 | 2.12.6, 2.13.1 |
Blast radius
42% of the dependent artifacts (23,343) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 379,790 |
| 2 hops | 934,380 |
| 3 hops | 546,177 |
| 4 hops | 249,783 |
| 5 hops | 79,183 |
| 6 hops | 23,713 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,081 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
- com.fasterxml.jackson.module » jackson-module-kotlin4,004 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.springframework.boot » spring-boot-starter-webflux2,764 usages
- com.fasterxml.jackson.jaxrs » jackson-jaxrs-json-provider2,579 usages
- org.apache.avro » avro2,427 usages
- com.android.tools.build » gradle2,197 usages
- io.vertx » vertx-core2,116 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-2021-46877
- Webhttps://github.com/FasterXML/jackson-databind/issues/3328
- Webhttps://github.com/FasterXML/jackson-databind/commit/3ccde7d938fea547e598fdefe9a82cff37fed5cb
- Packagehttps://github.com/FasterXML/jackson-databind
- Webhttps://github.com/FasterXML/jackson/wiki/Jackson-Release-2.12.6
- Webhttps://github.com/FasterXML/jackson/wiki/Jackson-Release-2.13.1
- Webhttps://groups.google.com/g/jackson-user/c/OsBsirPM_Vw
