CVE-2018-7489 FasterXML jackson-databind allows unauthenticated remote code execution
Unauthenticated remote code execution via malicious JSON input in jackson-databind due to incomplete deserialization blacklist fix.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-7489?
CVE-2018-7489 is a critical unsafe deserialization vulnerability in Debian Debian Linux, published on 26 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
FasterXML jackson-databind before 2.7.9.3, 2.8.x before 2.8.11.1 and 2.9.x before 2.9.5 allows unauthenticated remote code execution because of an incomplete fix for the CVE-2017-7525 deserialization flaw. This is exploitable by sending maliciously crafted JSON input to the readValue method of the ObjectMapper, bypassing a blacklist that is ineffective if the c3p0 libraries are available in the classpath.
Which versions are affected by CVE-2018-7489?
8 open source packages ship an affected version, including com.fasterxml.jackson.core:jackson-databind. It affects 5 products.
| Package | Affected | Fixed in |
|---|---|---|
com.fasterxml.jackson.core:jackson-databind Maven | All versions | 2.6.7.5 |
com.fasterxml.jackson.core:jackson-databind Maven | All versions | 2.6.7.5 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.7.0 | 2.7.9.3 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.7.0 | 2.7.9.3 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.8.0 | 2.8.11.1 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.8.0 | 2.8.11.1 |
2 more packages
com.fasterxml.jackson.core:jackson-databind Maven | From 2.9.0 | 2.9.5 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.9.0 | 2.9.5 |
Linux distribution packages (1)
rhvm-appliance Red Hat:enterprise_linux:7::hypervisor | All versions | 2:4.2-20180620.0.el7 |
Products include Debian Debian Linux, Fasterxml Jackson-Databind, Oracle Communications Billing and Revenue Management, Oracle Communications Instant Messaging Server, Redhat Jboss Enterprise Application Platform.
How do I fix CVE-2018-7489?
Upgrade com.fasterxml.jackson.core:jackson-databind to a fixed version for your release line: 2.6.7.5, 2.7.9.3, 2.8.11.1 or 2.9.5.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2018-7489 being exploited?
There is no known exploitation of CVE-2018-7489 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as CLEANSTART-2026-MD56450, DEBIAN-CVE-2018-7489, DSA-4190-1, GHSA-cggj-fvv3-cqwv, RHEA-2018:2082, ROOT-APP-MAVEN-CVE-2018-7489 and 1 more.