CVE-2020-35728 Serialization gadget exploit in jackson-databind
Attackers can execute arbitrary code via deserialization gadgets in jackson-databind when polymorphic typing is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-35728?
CVE-2020-35728 is a high-severity unsafe deserialization vulnerability in Debian Debian Linux, published on 27 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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).
Weakness: CWE-502
Which versions are affected by CVE-2020-35728?
2 open source packages ship an affected version, including com.fasterxml.jackson.core:jackson-databind. It affects 40 products.
| Package | Affected | Fixed in |
|---|---|---|
com.fasterxml.jackson.core:jackson-databind Maven | From 2.0.0 | 2.9.10.8 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.0.0 | 2.9.10.8 |
Products include Debian Debian Linux, Fasterxml Jackson-Databind, Netapp Service Level Manager, Oracle Agile Product Lifecycle Management, Oracle Application Testing Suite, Oracle Autovue and 34 more.
How do I fix CVE-2020-35728?
Upgrade com.fasterxml.jackson.core:jackson-databind to 2.9.10.8 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2020-35728 being exploited?
There is no known exploitation of CVE-2020-35728 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as CLEANSTART-2026-XV67437, DEBIAN-CVE-2020-35728, GHSA-5r5r-6hpj-8gg9, ROOT-APP-MAVEN-CVE-2020-35728, UBUNTU-CVE-2020-35728.