HIGH 7.5

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)

ArtifactAffected versionsFixed in
com.fasterxml.jackson.core » jackson-databind
>= 2.9.0, < 2.9.10
2.9.10

Blast radius

1affected artifacts
34affected versions
38,693dependent artifacts (est.)
1,050,364dependent versions

43% of the dependent artifacts (16,824) still pull an affected version in their latest release.

DepthDependent 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

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.