CVE-2019-12384 Deserialization of Untrusted Data in FasterXML jackson-databind

Medium 5.9 Published Updated

Attackers can achieve remote code execution by exploiting unsafe polymorphic deserialization 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-2019-12384?

CVE-2019-12384 is a medium-severity unsafe deserialization vulnerability in Debian Debian Linux, published on 24 Jun 2019. 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.9.1 might allow attackers to have a variety of impacts by leveraging failure to block the logback-core class from polymorphic deserialization. Depending on the classpath content, remote code execution may be possible.

Weakness: CWE-502

Which versions are affected by CVE-2019-12384?

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

PackageAffectedFixed in
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.0.02.6.7.3
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.0.02.6.7.3
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.7.02.7.9.6
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.7.02.7.9.6
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.8.02.8.11.4
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.8.02.8.11.4
2 more packages
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.9.02.9.9.1
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.9.02.9.9.1
Linux distribution packages (32)
apache-commons-collections AlmaLinux:8All versions3.2.2-10.module_el8.5.0+150+5f0dbea0
apache-commons-collections AlmaLinux:8All versions3.2.2-10.module_el8.5.0+2577+9e95fe00
apache-commons-lang AlmaLinux:8All versions2.6-21.module_el8.5.0+150+5f0dbea0
apache-commons-lang AlmaLinux:8All versions2.6-21.module_el8.5.0+2577+9e95fe00
bea-stax-api AlmaLinux:8All versions1.2.0-16.module_el8.5.0+150+5f0dbea0
bea-stax-api AlmaLinux:8All versions1.2.0-16.module_el8.5.0+2577+9e95fe00
glassfish-fastinfoset AlmaLinux:8All versions1.2.13-9.module_el8.5.0+150+5f0dbea0
glassfish-fastinfoset AlmaLinux:8All versions1.2.13-9.module_el8.5.0+2577+9e95fe00
glassfish-jaxb-api AlmaLinux:8All versions2.2.12-8.module_el8.5.0+150+5f0dbea0
glassfish-jaxb-api AlmaLinux:8All versions2.2.12-8.module_el8.5.0+2577+9e95fe00
glassfish-jaxb-core AlmaLinux:8All versions2.2.11-11.module_el8.5.0+150+5f0dbea0
glassfish-jaxb-core AlmaLinux:8All versions2.2.11-11.module_el8.5.0+2577+9e95fe00
glassfish-jaxb-runtime AlmaLinux:8All versions2.2.11-11.module_el8.5.0+150+5f0dbea0
glassfish-jaxb-runtime AlmaLinux:8All versions2.2.11-11.module_el8.5.0+2577+9e95fe00
glassfish-jaxb-txw2 AlmaLinux:8All versions2.2.11-11.module_el8.5.0+150+5f0dbea0
glassfish-jaxb-txw2 AlmaLinux:8All versions2.2.11-11.module_el8.5.0+2577+9e95fe00
jackson-jaxrs-json-provider AlmaLinux:8All versions2.9.9-1.module_el8.5.0+150+5f0dbea0
jackson-jaxrs-json-provider AlmaLinux:8All versions2.9.9-1.module_el8.5.0+2577+9e95fe00
jackson-jaxrs-providers AlmaLinux:8All versions2.9.9-1.module_el8.5.0+150+5f0dbea0
jackson-jaxrs-providers AlmaLinux:8All versions2.9.9-1.module_el8.5.0+2577+9e95fe00
jackson-module-jaxb-annotations AlmaLinux:8All versions2.7.6-4.module_el8.5.0+150+5f0dbea0
jackson-module-jaxb-annotations AlmaLinux:8All versions2.7.6-4.module_el8.5.0+2577+9e95fe00
jakarta-commons-httpclient AlmaLinux:8All versions1:3.1-28.module_el8.5.0+150+5f0dbea0
jakarta-commons-httpclient AlmaLinux:8All versions1:3.1-28.module_el8.5.0+2577+9e95fe00
javassist AlmaLinux:8All versions3.18.1-8.module_el8.5.0+150+5f0dbea0
javassist AlmaLinux:8All versions3.18.1-8.module_el8.5.0+2577+9e95fe00
javassist-javadoc AlmaLinux:8All versions3.18.1-8.module_el8.5.0+150+5f0dbea0
javassist-javadoc AlmaLinux:8All versions3.18.1-8.module_el8.5.0+2577+9e95fe00
python-nss-doc AlmaLinux:8All versions1.0.1-10.module_el8.5.0+150+5f0dbea0.alma
python-nss-doc AlmaLinux:8All versions1.0.1-10.module_el8.5.0+2577+9e95fe00.alma
python3-nss AlmaLinux:8All versions1.0.1-10.module_el8.5.0+150+5f0dbea0.alma
python3-nss AlmaLinux:8All versions1.0.1-10.module_el8.5.0+2577+9e95fe00.alma

Products include Debian Debian Linux, Fasterxml Jackson-Databind, Redhat Enterprise Linux.

How do I fix CVE-2019-12384?

Upgrade com.fasterxml.jackson.core:jackson-databind to a fixed version for your release line: 2.6.7.3, 2.7.9.6, 2.8.11.4 or 2.9.9.1.

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

Is CVE-2019-12384 being exploited?

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

Public exploit code: 2 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALSA-2019:2720, CLEANSTART-2026-NC21298, DEBIAN-CVE-2019-12384, GHSA-mph4-vhrx-mv67, RHSA-2019:1820, RHSA-2019:2720 and 2 more.

Is CVE-2019-12384 in your software?

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

Check your SBOMs for free