CVE-2019-12086 — Information exposure in jackson-databind
Information exposure in FasterXML jackson-databind
What Should I Do?
Low-to-Moderate Risk
Exploitation probability is 21.95% in 30 days. Address in your next planned sprint.
Does your project use an affected com.fasterxml.jackson.core:jackson-databind version?
Paste your pom.xml to check it for CVE-2019-12086 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published May 23, 2019 (2744 days ago).
- Last revised March 15, 2024 — 1758 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.6.7.3 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.9.9 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.8.11.4 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.7.9.6 for com.fasterxml.jackson.core:jackson-databind -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.0.0, 2.0.1, 2.0.2, 2.0.4 (+57 more) | 2.6.7.3 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.9.0, 2.9.0.pr1, 2.9.0.pr2, 2.9.0.pr3 (+9 more) | 2.9.9 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.8.0, 2.8.1, 2.8.10, 2.8.11 (+12 more) | 2.8.11.4 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.7.0, 2.7.1, 2.7.1-1, 2.7.2 (+12 more) | 2.7.9.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-502Deserialization of Untrusted DataMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-12086ADVISORY
- https://github.com/FasterXML/jackson-databind/issues/2326WEB
- https://github.com/FasterXML/jackson-databind/commit/efc3c0d02f4743dbaa6d1b9c466772a2f13d966bWEB
- https://github.com/FasterXML/jackson-databind/commit/dda513bd7251b4f32b7b60b1c13740e3b5a43024WEB
- https://github.com/FasterXML/jackson-databind/commit/d30f036208ab1c60bd5ce429cb4f7f1a3e5682e8WEB
- https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3EWEB
- https://lists.apache.org/thread.html/rda99599896c3667f2cc9e9d34c7b6ef5d2bbed1f4801e1d75a2b0679@%3Ccommits.nifi.apache.org%3EWEB
- https://lists.debian.org/debian-lts-announce/2019/05/msg00030.htmlWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OVRZDN2T6AZ6DJCZJ3VSIQIVHBVMVWBLWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TXRVXNRFHJSQWFHPRJQRI5UPMZ63B544WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKUALE2TUCKEKOHE2D342PQXN4MWCSLCWEB
- https://medium.com/@cowtowncoder/on-jackson-cves-dont-panic-here-is-what-you-need-to-know-54cd0d6e8062WEB
- https://seclists.org/bugtraq/2019/May/68WEB
- https://security.netapp.com/advisory/ntap-20190530-0003WEB
- https://web.archive.org/web/20200227030031/http://www.securityfocus.com/bid/109227WEB
- https://web.archive.org/web/20200808181049/http://russiansecurity.expert/2016/04/20/mysql-connect-file-readWEB
- https://www.debian.org/security/2019/dsa-4452WEB
- https://www.oracle.com/security-alerts/cpuApr2021.htmlWEB
- https://www.oracle.com/security-alerts/cpuapr2020.htmlWEB
- https://www.oracle.com/security-alerts/cpuapr2022.htmlWEB
- https://www.oracle.com/security-alerts/cpujan2020.htmlWEB
- https://www.oracle.com/security-alerts/cpujul2020.htmlWEB
- https://www.oracle.com/security-alerts/cpuoct2020.htmlWEB
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.htmlWEB
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.htmlWEB
- https://access.redhat.com/errata/RHSA-2019:2858WEB
- https://access.redhat.com/errata/RHSA-2019:2935WEB
- https://access.redhat.com/errata/RHSA-2019:2936WEB
- https://access.redhat.com/errata/RHSA-2019:2937WEB
- https://access.redhat.com/errata/RHSA-2019:2938WEB
- https://access.redhat.com/errata/RHSA-2019:2998WEB
- https://access.redhat.com/errata/RHSA-2019:3044WEB
- https://access.redhat.com/errata/RHSA-2019:3045WEB
- https://access.redhat.com/errata/RHSA-2019:3046WEB
- https://access.redhat.com/errata/RHSA-2019:3050WEB
- https://access.redhat.com/errata/RHSA-2019:3149WEB
- https://access.redhat.com/errata/RHSA-2019:3200WEB
- https://github.com/FasterXML/jackson-databindPACKAGE
- https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.9WEB
- https://lists.apache.org/thread.html/3f99ae8dcdbd69438cb733d745ee3ad5e852068490719a66509b4592@%3Ccommits.cassandra.apache.org%3EWEB
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/88cd25375805950ae7337e669b0cb0eeda98b9604c1b8d806dccbad2@%3Creviews.spark.apache.org%3EWEB
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3@%3Ccommits.nifi.apache.org%3EWEB
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@%3Csolr-user.lucene.apache.org%3EWEB
Frequently Asked Questions
- What is CVE-2019-12086?
- Information exposure in FasterXML jackson-databind. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2019-12086?
- CVE-2019-12086 affects com.fasterxml.jackson.core:jackson-databind. It has a 21.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-12086 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top 5% of EPSS-scored vulnerabilities — 98.2% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2019-16335CRITICAL
Polymorphic Typing issue in FasterXML jackson-databind
- CVE-2019-16942CRITICAL
Polymorphic Typing in FasterXML jackson-databind
- CVE-2020-36182HIGH
Unsafe Deserialization in jackson-databind
- CVE-2020-36180HIGH
Unsafe Deserialization in jackson-databind
- CVE-2020-36185HIGH
Unsafe Deserialization in jackson-databind
- CVE-2020-36184HIGH
Unsafe Deserialization in jackson-databind
- CVE-2020-14195HIGH
Deserialization of untrusted data in Jackson Databind
- CVE-2019-12384MEDIUM
Deserialization of Untrusted Data in FasterXML jackson-databind