CVE-2018-12023 Deserialization of Untrusted Data

High 7.5 Published Updated

Attackers can execute arbitrary code via deserialization if Default Typing is enabled and Oracle JDBC is present.

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-2018-12023?

CVE-2018-12023 is a high-severity unsafe deserialization vulnerability in Debian Debian Linux, published on 17 Mar 2019. 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

An issue was discovered in FasterXML jackson-databind prior to 2.7.9.4, 2.8.11.2, and 2.9.6. When Default Typing is enabled (either globally or for a specific property), the service has the Oracle JDBC jar in the classpath, and an attacker can provide an LDAP service to access, it is possible to make the service execute a malicious payload.

Weakness: CWE-502

Which versions are affected by CVE-2018-12023?

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

PackageAffectedFixed in
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.7.02.7.9.4
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.7.02.7.9.4
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.8.02.8.11.2
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.8.02.8.11.2
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.9.02.9.6
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.9.02.9.6

Products include Debian Debian Linux, Fasterxml Jackson-Databind, Fedoraproject Fedora, Oracle Jd Edwards Enterpriseone Tools, Oracle Retail Merchandising System, Redhat Automation Manager and 5 more.

How do I fix CVE-2018-12023?

Upgrade com.fasterxml.jackson.core:jackson-databind to a fixed version for your release line: 2.7.9.4, 2.8.11.2 or 2.9.6.

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

Is CVE-2018-12023 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as CLEANSTART-2026-FK40225, DEBIAN-CVE-2018-12023, GHSA-6wqp-v4v6-c87c, UBUNTU-CVE-2018-12023.

Is CVE-2018-12023 in your software?

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

Check your SBOMs for free