CVE-2020-36187 Unsafe Deserialization 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-36187?
CVE-2020-36187 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, 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 org.apache.tomcat.dbcp.dbcp.datasources.SharedPoolDataSource.
Weakness: CWE-502
Which versions are affected by CVE-2020-36187?
2 open source packages ship an affected version, including com.fasterxml.jackson.core:jackson-databind. It affects 45 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 Cloud Backup, Netapp Service Level Manager, Oracle Agile Product Lifecycle Management, Oracle Application Testing Suite and 39 more.
How do I fix CVE-2020-36187?
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-36187 being exploited?
There is no known exploitation of CVE-2020-36187 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2020-36187, GHSA-r695-7vr9-jgc2, ROOT-APP-MAVEN-CVE-2020-36187, UBUNTU-CVE-2020-36187.