CVE-2019-14893 Polymorphic deserialization of malicious object in jackson-databind

High 7.5 Published Updated

Attackers can execute arbitrary code via unsafe polymorphic deserialization in jackson-databind when default typing or specific type info annotations are 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-2019-14893?

CVE-2019-14893 is a high-severity unsafe deserialization vulnerability in Fasterxml Jackson-Databind, published on 2 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was discovered in FasterXML jackson-databind in all versions before 2.9.10 and 2.10.0, where it would permit polymorphic deserialization of malicious objects using the xalan JNDI gadget when used in conjunction with polymorphic type handling methods such as `enableDefaultTyping()` or when @JsonTypeInfo is using `Id.CLASS` or `Id.MINIMAL_CLASS` or in any other way which ObjectMapper.readValue might instantiate objects from unsafe sources. An attacker could use this flaw to execute arbitrary code.

Weakness: CWE-502, CWE-200

Which versions are affected by CVE-2019-14893?

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

PackageAffectedFixed in
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.9.02.9.10
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.9.02.9.10

Products include Fasterxml Jackson-Databind, Netapp Oncommand Api Services, Netapp Steelstore Cloud Integrated Storage, Oracle Goldengate Stream Analytics.

How do I fix CVE-2019-14893?

Upgrade com.fasterxml.jackson.core:jackson-databind to 2.9.10 or later.

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

Is CVE-2019-14893 being exploited?

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

All Fasterxml Jackson-Databind vulnerabilities

Sources

Also known as CLEANSTART-2026-JS33298, DEBIAN-CVE-2019-14893, GHSA-qmqc-x3r4-6v39, ROOT-APP-MAVEN-CVE-2019-14893, UBUNTU-CVE-2019-14893.

Is CVE-2019-14893 in your software?

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

Check your SBOMs for free