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)
| Artifact | Affected versions | Fixed 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
61% of the dependent artifacts (46,029) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.renjin » renjin-maven-plugin13,886 usages
- org.renjin » stats13,856 usages
- org.renjin » methods13,854 usages
- org.renjin » datasets13,850 usages
- org.renjin » stats413,781 usages
- org.renjin » splines13,779 usages
- com.fasterxml.jackson.datatype » jackson-datatype-jsr31010,638 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- com.fasterxml.jackson.dataformat » jackson-dataformat-yaml6,005 usages
- org.testcontainers » testcontainers4,109 usages
- com.fasterxml.jackson.module » jackson-module-kotlin4,004 usages
- com.fasterxml.jackson.datatype » jackson-datatype-jdk83,840 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 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-12086
- Webhttps://github.com/FasterXML/jackson-databind/issues/2326
- Webhttps://github.com/FasterXML/jackson-databind/commit/efc3c0d02f4743dbaa6d1b9c466772a2f13d966b
- Webhttps://github.com/FasterXML/jackson-databind/commit/dda513bd7251b4f32b7b60b1c13740e3b5a43024
- Webhttps://github.com/FasterXML/jackson-databind/commit/d30f036208ab1c60bd5ce429cb4f7f1a3e5682e8
- Webhttps://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rda99599896c3667f2cc9e9d34c7b6ef5d2bbed1f4801e1d75a2b0679@%3Ccommits.nifi.apache.org%3E
- Webhttps://lists.debian.org/debian-lts-announce/2019/05/msg00030.html
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OVRZDN2T6AZ6DJCZJ3VSIQIVHBVMVWBL
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TXRVXNRFHJSQWFHPRJQRI5UPMZ63B544
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKUALE2TUCKEKOHE2D342PQXN4MWCSLC
- Webhttps://medium.com/@cowtowncoder/on-jackson-cves-dont-panic-here-is-what-you-need-to-know-54cd0d6e8062
- Webhttps://seclists.org/bugtraq/2019/May/68
- Webhttps://security.netapp.com/advisory/ntap-20190530-0003
- Webhttps://web.archive.org/web/20200227030031/http://www.securityfocus.com/bid/109227
- Webhttps://web.archive.org/web/20200808181049/http://russiansecurity.expert/2016/04/20/mysql-connect-file-read
- Webhttps://www.debian.org/security/2019/dsa-4452
- Webhttps://www.oracle.com/security-alerts/cpuApr2021.html
- Webhttps://www.oracle.com/security-alerts/cpuapr2020.html
- Webhttps://www.oracle.com/security-alerts/cpuapr2022.html
- Webhttps://www.oracle.com/security-alerts/cpujan2020.html
- Webhttps://www.oracle.com/security-alerts/cpujul2020.html
- Webhttps://www.oracle.com/security-alerts/cpuoct2020.html
- Webhttps://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- Webhttps://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- Webhttps://access.redhat.com/errata/RHSA-2019:2858
- Webhttps://access.redhat.com/errata/RHSA-2019:2935
- Webhttps://access.redhat.com/errata/RHSA-2019:2936
- Webhttps://access.redhat.com/errata/RHSA-2019:2937
- Webhttps://access.redhat.com/errata/RHSA-2019:2938
- Webhttps://access.redhat.com/errata/RHSA-2019:2998
- Webhttps://access.redhat.com/errata/RHSA-2019:3044
- Webhttps://access.redhat.com/errata/RHSA-2019:3045
- Webhttps://access.redhat.com/errata/RHSA-2019:3046
- Webhttps://access.redhat.com/errata/RHSA-2019:3050
- Webhttps://access.redhat.com/errata/RHSA-2019:3149
- Webhttps://access.redhat.com/errata/RHSA-2019:3200
- Packagehttps://github.com/FasterXML/jackson-databind
- Webhttps://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.9
- Webhttps://lists.apache.org/thread.html/3f99ae8dcdbd69438cb733d745ee3ad5e852068490719a66509b4592@%3Ccommits.cassandra.apache.org%3E
