CVE-2020-35728 Serialization gadget exploit in jackson-databind

High 8.1 Published Updated

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.

PackageAffectedFixed in
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.0.02.9.10.8
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.0.02.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.

All Debian Debian Linux vulnerabilities

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.

Is CVE-2020-35728 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free