CVE-2021-20190 — Deserialization of untrusted data in jackson-databind
Deserialization of untrusted data in jackson-databind
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (7.62%). 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-2021-20190 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 flaw was found in jackson-databind before 2.9.10.7 and 2.6.7.5. FasterXML mishandles the interaction between serialization gadgets and typing. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Advisory Timeline
- First published January 20, 2021 (2136 days ago).
- Last revised September 15, 2025 — 1698 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.9.10.7 for com.fasterxml.jackson.core:jackson-databind -->
<!-- Update pom.xml dependency version to 2.6.7.5 for com.fasterxml.jackson.core:jackson-databind -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
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 (+59 more) | 2.9.10.7 |
| com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.0.0, 2.0.0-RC1, 2.0.0-RC2, 2.0.0-RC3 (+62 more) | 2.6.7.5 |
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) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-20190ADVISORY
- https://github.com/FasterXML/jackson-databind/issues/2854WEB
- https://github.com/FasterXML/jackson-databind/commit/08fbfacf89a4a4c026a6227a1b470ab7a13e2e88WEB
- https://github.com/FasterXML/jackson-databind/commit/7dbf51bf78d157098074a20bd9da39bd48c18e4aWEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1916633WEB
- https://github.com/FasterXML/jackson-databindPACKAGE
- https://lists.apache.org/thread.html/r380e9257bacb8551ee6fcf2c59890ae9477b2c78e553fa9ea08e9d9a@%3Ccommits.nifi.apache.org%3EWEB
- https://lists.debian.org/debian-lts-announce/2021/04/msg00025.htmlWEB
- https://security.netapp.com/advisory/ntap-20210219-0008WEB
- https://www.oracle.com//security-alerts/cpujul2021.htmlWEB
Frequently Asked Questions
- What is CVE-2021-20190?
- Deserialization of untrusted data in jackson-databind. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2021-20190?
- CVE-2021-20190 affects com.fasterxml.jackson.core:jackson-databind. It has a 7.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-20190 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 — 95.3% 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-2020-9546CRITICAL
jackson-databind mishandles the interaction between serialization gadgets and typing
- CVE-2018-14718CRITICAL
Arbitrary Code Execution in jackson-databind
- CVE-2017-15095CRITICAL
jackson-databind vulnerable to deserialization flaw leading to unauthenticated remote code execution
- CVE-2019-14540CRITICAL
Polymorphic Typing issue in FasterXML jackson-databind
- CVE-2020-35728HIGH
Serialization gadget exploit in jackson-databind
- CVE-2019-12086HIGH
Information exposure in FasterXML jackson-databind
- CVE-2026-54512HIGH
jackson-databind has a PolymorphicTypeValidator bypass via generic type parameters that allows arbitrary class instantiation
- CVE-2026-54514MEDIUM
jackson-databind: InetSocketAddress deserialization triggers eager DNS resolution (SSRF)