CVE-2017-15095 jackson-databind vulnerable to deserialization flaw leading to unauthenticated remote code execution

Critical 9.8 Published Updated

An unauthenticated attacker can execute arbitrary code by sending malicious input to the ObjectMapper readValue method in jackson-databind.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-15095?

CVE-2017-15095 is a critical unsafe deserialization vulnerability in Debian Debian Linux, published on 6 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A deserialization flaw was discovered in the jackson-databind in versions before 2.8.10 and 2.9.1, which could allow an unauthenticated user to perform code execution by sending the maliciously crafted input to the readValue method of the ObjectMapper. This issue extends the previous flaw CVE-2017-7525 by blacklisting more classes that could be used maliciously.

Weakness: CWE-502, CWE-184

Which versions are affected by CVE-2017-15095?

8 open source packages ship an affected version, including com.fasterxml.jackson.core:jackson-databind. It affects 24 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.2
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.7.02.7.9.2
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.8.02.8.11
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.8.02.8.11
2 more packages
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.9.02.9.4
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.9.02.9.4
Linux distribution packages (4)
rh-eclipse47-jackson-databind Red Hat:devtools:2::el7All versions0:2.7.6-3.3.el7
rh-eclipse47-jackson-databind-javadoc Red Hat:devtools:2::el7All versions0:2.7.6-3.3.el7
rh-eclipse46-jackson-databind Red Hat:rhel_software_collections:3::el7All versions0:2.6.3-2.4.el7
rh-eclipse46-jackson-databind-javadoc Red Hat:rhel_software_collections:3::el7All versions0:2.6.3-2.4.el7

Products include Debian Debian Linux, Fasterxml Jackson-Databind, Netapp Oncommand Balance, Netapp Oncommand Performance Manager, Netapp Oncommand Shift, Netapp Snapcenter and 18 more.

How do I fix CVE-2017-15095?

Upgrade com.fasterxml.jackson.core:jackson-databind to a fixed version for your release line: 2.6.7.3, 2.7.9.2, 2.8.11 or 2.9.4.

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

Is CVE-2017-15095 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as CLEANSTART-2026-ZL21597, DEBIAN-CVE-2017-15095, DSA-4037-1, GHSA-h592-38cm-4ggp, MGASA-2017-0408, RHSA-2017:3189 and 3 more.

Is CVE-2017-15095 in your software?

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

Check your SBOMs for free