CVE-2020-8840 Deserialization of Untrusted Data in jackson-databind
Attackers can achieve remote code execution via unsafe deserialization of JNDI objects in the Jackson databind library.
- 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-8840?
CVE-2020-8840 is a critical unsafe deserialization vulnerability in Debian Debian Linux, published on 10 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
FasterXML jackson-databind 2.0.0 through 2.9.10.2 lacks certain xbean-reflect/JNDI blocking, as demonstrated by org.apache.xbean.propertyeditor.JndiConverter.
Weakness: CWE-502
Which versions are affected by CVE-2020-8840?
8 open source packages ship an affected version, including com.fasterxml.jackson.core:jackson-databind. It affects 8 products.
| Package | Affected | Fixed in |
|---|---|---|
com.fasterxml.jackson.core:jackson-databind Maven | From 2.0.0 | 2.6.7.4 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.0.0 | 2.6.7.4 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.7.0 | 2.7.9.7 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.7.0 | 2.7.9.7 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.8.0 | 2.8.11.5 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.8.0 | 2.8.11.5 |
2 more packages
com.fasterxml.jackson.core:jackson-databind Maven | From 2.9.0 | 2.9.10.3 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.9.0 | 2.9.10.3 |
Products include Debian Debian Linux, Fasterxml Jackson-Databind, Huawei Oceanstor 9000 Firmware, Netapp Oncommand Api Services, Netapp Oncommand Workflow Automation, Netapp Service Level Manager and 2 more.
How do I fix CVE-2020-8840?
Upgrade com.fasterxml.jackson.core:jackson-databind to a fixed version for your release line: 2.6.7.4, 2.7.9.7, 2.8.11.5 or 2.9.10.3.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2020-8840 being exploited?
There is no known exploitation of CVE-2020-8840 in the wild and no public exploit code.
Public exploit code: 6 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as CLEANSTART-2026-JE84381, DEBIAN-CVE-2020-8840, GHSA-4w82-r329-3q67, ROOT-APP-MAVEN-CVE-2020-8840, UBUNTU-CVE-2020-8840.