CVE-2020-35490 — Serialization gadgets exploit in jackson-databind
Serialization gadgets exploit in jackson-databind
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (6.29%). 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-35490 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.PerUserPoolDataSource.
Advisory Timeline
- First published December 9, 2021 (1813 days ago).
- Last revised March 15, 2024 — 826 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
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-35490ADVISORY
- 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-35490?
- 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-35490?
- CVE-2020-35490 affects com.fasterxml.jackson.core:jackson-databind. It has a 6.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-35490 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top 10% of EPSS-scored vulnerabilities — 94.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-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-2022-42003HIGH
Uncontrolled Resource Consumption 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