CVE-2020-36182 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-36182?

CVE-2020-36182 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.dbcp2.cpdsadapter.DriverAdapterCPDS.

Weakness: CWE-502

Which versions are affected by CVE-2020-36182?

4 open source packages ship an affected version, including com.fasterxml.jackson.core:jackson-databind. It affects 45 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 Cloud Backup, Netapp Service Level Manager, Oracle Agile Product Lifecycle Management, Oracle Application Testing Suite and 39 more.

How do I fix CVE-2020-36182?

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-36182 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-36182, GHSA-89qr-369f-5m5x, ROOT-APP-MAVEN-CVE-2020-36182, UBUNTU-CVE-2020-36182.

Is CVE-2020-36182 in your software?

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

Check your SBOMs for free