CVE-2020-35728 — Serialization gadget exploit in jackson-databind
Serialization gadget exploit in jackson-databind
What Should I Do?
Low-to-Moderate Risk
Exploitation probability is 12.50% 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-2020-35728 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 com.oracle.wls.shaded.org.apache.xalan.lib.sql.JNDIConnectionPool (aka embedded Xalan in org.glassfish.web/javax.servlet.jsp.jstl).
Advisory Timeline
- First published December 9, 2021 (1813 days ago).
- Last revised February 18, 2024 — 800 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-35728ADVISORY
- https://github.com/FasterXML/jackson-databind/issues/2999WEB
- https://github.com/FasterXML/jackson-databind/commit/1ca0388c2fb37ac6a06f1c188ae89c41e3e15e84WEB
- https://github.com/FasterXML/jackson-databindPACKAGE
- https://lists.debian.org/debian-lts-announce/2021/04/msg00025.htmlWEB
- https://medium.com/@cowtowncoder/on-jackson-cves-dont-panic-here-is-what-you-need-to-know-54cd0d6e8062WEB
- https://security.netapp.com/advisory/ntap-20210129-0007WEB
- 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-35728?
- Serialization gadget 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-35728?
- CVE-2020-35728 affects com.fasterxml.jackson.core:jackson-databind. It has a 12.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-35728 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 — 96.9% 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-16942CRITICAL
Polymorphic Typing in FasterXML jackson-databind
- CVE-2020-9548CRITICAL
jackson-databind mishandles the interaction between serialization gadgets and typing
- CVE-2020-9547CRITICAL
jackson-databind mishandles the interaction between serialization gadgets and typing
- CVE-2020-36180HIGH
Unsafe Deserialization in jackson-databind
- CVE-2020-36185HIGH
Unsafe Deserialization in jackson-databind
- CVE-2020-10672HIGH
jackson-databind mishandles the interaction between serialization gadgets and typing
- CVE-2020-36179HIGH
Unsafe Deserialization in jackson-databind
- CVE-2019-12384MEDIUM
Deserialization of Untrusted Data in FasterXML jackson-databind