CRITICAL 9.8

CVE-2019-16942

Polymorphic Typing in FasterXML jackson-databind

Description

A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.0.0 through 2.9.10. When Default Typing is enabled (either globally or for a specific property) for an externally exposed JSON endpoint and the service has the commons-dbcp (1.4) jar in the classpath, and an attacker can find an RMI service endpoint to access, it is possible to make the service execute a malicious payload. This issue exists because of org.apache.commons.dbcp.datasources.SharedPoolDataSource and org.apache.commons.dbcp.datasources.PerUserPoolDataSource mishandling.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.fasterxml.jackson.core » jackson-databind
>= 2.0.0, < 2.6.7.3>= 2.7.0, < 2.8.11.5>= 2.9.0, < 2.9.10.1
2.6.7.3, 2.8.11.5, 2.9.10.1

Blast radius

1affected artifacts
179affected versions
78,025dependent artifacts (est.)
3,107,546dependent versions

63% of the dependent artifacts (49,467) still pull an affected version in their latest release.

DepthDependent versions
Direct
394,823
2 hops
1,257,849
3 hops
884,907
4 hops
354,090
5 hops
152,753
6 hops
63,124

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.

References