HIGH 7.5

CVE-2019-12086

Information exposure in FasterXML jackson-databind

Description

A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.x before 2.9.9. When Default Typing is enabled (either globally or for a specific property) for an externally exposed JSON endpoint, the service has the mysql-connector-java jar (8.0.14 or earlier) in the classpath, and an attacker can host a crafted MySQL server reachable by the victim, an attacker can send a crafted JSON message that allows them to read arbitrary local files on the server. This occurs because of missing com.mysql.cj.jdbc.admin.MiniAdmin validation.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.fasterxml.jackson.core » jackson-databind
>= 2.0.0, < 2.6.7.3>= 2.7.0, < 2.7.9.6>= 2.8.0, < 2.8.11.4>= 2.9.0, < 2.9.9
2.6.7.3, 2.7.9.6, 2.8.11.4, 2.9.9

Blast radius

1affected artifacts
159affected versions
74,927dependent artifacts (est.)
2,835,953dependent versions

61% of the dependent artifacts (46,029) still pull an affected version in their latest release.

DepthDependent versions
Direct
342,507
2 hops
1,136,323
3 hops
819,402
4 hops
329,917
5 hops
146,254
6 hops
61,550

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