CVE-2019-17531 — Vulnerability in jackson-databind — CVE Details
jackson-databind polymorphic typing issue
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (5.37%). Schedule for your next planned update.
Does your project use an affected com.fasterxml.jackson.core:jackson-databind version?
Paste your pom.xml to check it for CVE-2019-17531 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.0.0 prior to 2.9.10.1, 2.8.11.5, and 2.6.7.3. When Default Typing is enabled (either globally or for a specific property) for an externally exposed JSON endpoint and the service has the apache-log4j-extra (version 1.2.x) jar in the classpath, and an attacker can provide a JNDI service to access, it is possible to make the service execute a malicious payload.
Advisory Timeline
- First published November 13, 2019 (2570 days ago).
- Last revised March 16, 2024 — 1585 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.8.11.5 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.9.10.1 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.6.7.3 for com.fasterxml.jackson.core:jackson-databind -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.7.0, 2.7.1, 2.7.1-1, 2.7.2 (+33 more) | 2.8.11.5 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.9.0, 2.9.0.pr1, 2.9.0.pr2, 2.9.0.pr3 (+14 more) | 2.9.10.1 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.0.0, 2.0.0-RC1, 2.0.0-RC2, 2.0.0-RC3 (+60 more) | 2.6.7.3 |
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) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-17531ADVISORY
- https://github.com/FasterXML/jackson-databind/issues/2498WEB
- https://github.com/FasterXML/jackson-databind/commit/b5a304a98590b6bb766134f9261e6566dcbbb6d0WEB
- https://www.oracle.com/security-alerts/cpuoct2020.htmlWEB
- https://www.oracle.com/security-alerts/cpujul2020.htmlWEB
- https://www.oracle.com/security-alerts/cpujan2020.htmlWEB
- https://www.oracle.com/security-alerts/cpuapr2020.htmlWEB
- https://www.oracle.com//security-alerts/cpujul2021.htmlWEB
- https://security.netapp.com/advisory/ntap-20191024-0005WEB
- https://medium.com/@cowtowncoder/on-jackson-cves-dont-panic-here-is-what-you-need-to-know-54cd0d6e8062WEB
- https://lists.debian.org/debian-lts-announce/2019/12/msg00013.htmlWEB
- https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@%3Cissues.geode.apache.org%3EWEB
- https://lists.apache.org/thread.html/r392099ed2757ff2e383b10440594e914d080511d7da1c8fed0612c1f@%3Ccommits.druid.apache.org%3EWEB
- https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0@%3Cissues.bookkeeper.apache.org%3EWEB
- https://lists.apache.org/thread.html/b3c90d38f99db546de60fea65f99a924d540fae2285f014b79606ca5@%3Ccommits.pulsar.apache.org%3EWEB
- https://github.com/FasterXML/jackson-databindPACKAGE
- https://access.redhat.com/errata/RHSA-2020:0445WEB
- https://access.redhat.com/errata/RHSA-2020:0164WEB
- https://access.redhat.com/errata/RHSA-2020:0161WEB
- https://access.redhat.com/errata/RHSA-2020:0160WEB
- https://access.redhat.com/errata/RHSA-2020:0159WEB
- https://access.redhat.com/errata/RHSA-2019:4192WEB
Frequently Asked Questions
- What is CVE-2019-17531?
- jackson-databind polymorphic typing issue. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2019-17531?
- CVE-2019-17531 affects com.fasterxml.jackson.core:jackson-databind. It has a 5.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-17531 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 10% of EPSS-scored vulnerabilities — 93.4% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most 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-10969HIGH
jackson-databind mishandles the interaction between serialization gadgets and typing
- CVE-2020-36182HIGH
Unsafe Deserialization in jackson-databind
- CVE-2020-36180HIGH
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