CVE-2019-14893
Polymorphic deserialization of malicious object in jackson-databind
Description
A flaw was discovered in FasterXML jackson-databind in all versions before 2.9.10 and 2.10.0, where it would permit polymorphic deserialization of malicious objects using the xalan JNDI gadget when used in conjunction with polymorphic type handling methods such as enableDefaultTyping() or when @JsonTypeInfo is using Id.CLASS or Id.MINIMAL_CLASS or in any other way which ObjectMapper.readValue might instantiate objects from unsafe sources. An attacker could use this flaw to execute arbitrary code.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.fasterxml.jackson.core » jackson-databind | >= 2.9.0, < 2.9.10 | 2.9.10 |
Blast radius
43% of the dependent artifacts (16,824) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 175,145 |
| 2 hops | 427,670 |
| 3 hops | 292,429 |
| 4 hops | 114,232 |
| 5 hops | 30,228 |
| 6 hops | 10,660 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 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
- io.vertx » vertx-core2,116 usages
- pl.project13.maven » git-commit-id-plugin1,959 usages
- com.typesafe.play » play-test1,902 usages
- org.glassfish.jersey.media » jersey-media-json-jackson1,897 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-2019-14893
- Webhttps://github.com/FasterXML/jackson-databind/issues/2469
- Webhttps://github.com/FasterXML/jackson-databind/commit/998efd708284778f29d83d7962a9bd935c228317
- Webhttps://access.redhat.com/errata/RHSA-2020:0729
- Webhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14893
- Webhttps://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0@%3Cissues.bookkeeper.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@%3Cissues.geode.apache.org%3E
- Webhttps://security.netapp.com/advisory/ntap-20200327-0006
- Webhttps://www.oracle.com/security-alerts/cpujul2020.html
- Webhttps://www.oracle.com/security-alerts/cpuoct2020.html
