CVE-2020-36181 Unsafe Deserialization in jackson-databind

High 8.8 Published Updated

Attackers can achieve remote code execution via unsafe deserialization in jackson-databind when specific typing and gadget configurations are enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-36181?

CVE-2020-36181 is a high-severity unsafe deserialization vulnerability in Debian Debian Linux, published on 6 Jan 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

FasterXML jackson-databind 2.x before 2.9.10.8 mishandles the interaction between serialization gadgets and typing, related to org.apache.tomcat.dbcp.dbcp.cpdsadapter.DriverAdapterCPDS.

Weakness: CWE-502

Which versions are affected by CVE-2020-36181?

4 open source packages ship an affected version, including com.fasterxml.jackson.core:jackson-databind. It affects 44 products.

PackageAffectedFixed in
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.0.02.6.7.5
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.0.02.6.7.5
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.7.02.9.10.8
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.7.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 for Agile Product Lifecycle Management and 38 more.

How do I fix CVE-2020-36181?

Upgrade com.fasterxml.jackson.core:jackson-databind to a fixed version for your release line: 2.6.7.5 or 2.9.10.8.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2020-36181 being exploited?

There is no known exploitation of CVE-2020-36181 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-36181, GHSA-cvm9-fjm9-3572, ROOT-APP-MAVEN-CVE-2020-36181, UBUNTU-CVE-2020-36181.

Is CVE-2020-36181 in your software?

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

Check your SBOMs for free