CVE-2020-35491 — Serialization gadgets exploit in jackson-databind
Serialization gadgets exploit in jackson-databind
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (7.75%). 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-2020-35491 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
FasterXML jackson-databind 2.x before 2.9.10.8 mishandles the interaction between serialization gadgets and typing, related to org.apache.commons.dbcp2.datasources.SharedPoolDataSource.
Advisory Timeline
- First published December 9, 2021 (1813 days ago).
- Last revised June 25, 2024 — 929 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.9.10.8 for com.fasterxml.jackson.core:jackson-databind -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
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 (+127 more) | 2.9.10.8 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-502Deserialization of Untrusted DataMITRE
- CWE-913
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-2020-35491ADVISORY
- https://github.com/FasterXML/jackson-databind/issues/2986WEB
- https://github.com/FasterXML/jackson-databind/commit/41b8bdb5ccc1d8edb71acf1c8234da235a24249dWEB
- https://cowtowncoder.medium.com/on-jackson-cves-dont-panic-here-is-what-you-need-to-know-54cd0d6e8062WEB
- https://github.com/FasterXML/jackson-databindPACKAGE
- https://lists.debian.org/debian-lts-announce/2021/04/msg00025.htmlWEB
- https://security.netapp.com/advisory/ntap-20210122-0005WEB
- https://www.oracle.com//security-alerts/cpujul2021.htmlWEB
- https://www.oracle.com/security-alerts/cpuApr2021.htmlWEB
- https://www.oracle.com/security-alerts/cpuapr2022.htmlWEB
- https://www.oracle.com/security-alerts/cpujan2022.htmlWEB
- https://www.oracle.com/security-alerts/cpujul2022.htmlWEB
- https://www.oracle.com/security-alerts/cpuoct2021.htmlWEB
Frequently Asked Questions
- What is CVE-2020-35491?
- Serialization gadgets exploit 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-2020-35491?
- CVE-2020-35491 affects com.fasterxml.jackson.core:jackson-databind. It has a 7.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-35491 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.4% 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-2018-19362CRITICAL
com.fasterxml.jackson.core:jackson-databind vulnerable to Deserialization of Untrusted Data
- CVE-2020-14062HIGH
Deserialization of untrusted data in Jackson Databind
- CVE-2020-14061HIGH
Deserialization of untrusted data in Jackson Databind
- CVE-2019-14892HIGH
Polymorphic deserialization of malicious object in jackson-databind
- CVE-2020-10968HIGH
jackson-databind mishandles the interaction between serialization gadgets and typing
- CVE-2022-42004HIGH
Uncontrolled Resource Consumption in FasterXML jackson-databind
- CVE-2026-54513HIGH
jackson-databind has an array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)
- CVE-2020-10650HIGH
jackson-databind vulnerable to unsafe deserialization