CVE-2017-7525 jackson-databind is vulnerable to a deserialization flaw

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-7525?

CVE-2017-7525 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, versions before 2.6.7.1, 2.7.9.1 and 2.8.9, which could allow an unauthenticated user to perform code execution by sending the maliciously crafted input to the readValue method of the ObjectMapper.

Weakness: CWE-502, CWE-184

Which versions are affected by CVE-2017-7525?

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

PackageAffectedFixed in
com.fasterxml.jackson.core:jackson-databind MavenAll versions2.6.7.1
com.fasterxml.jackson.core:jackson-databind MavenAll versions2.6.7.1
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.7.02.7.9.1
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.7.02.7.9.1
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.8.02.8.9
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.8.02.8.9
Linux distribution packages (6)
devtoolset-4-jackson-databind Red Hat:rhel_software_collections:2::el6All versions0:2.5.0-2.4.el6
devtoolset-4-jackson-databind-javadoc Red Hat:rhel_software_collections:2::el6All versions0:2.5.0-2.4.el6
devtoolset-4-jackson-databind Red Hat:rhel_software_collections:2::el7All versions0:2.5.0-2.4.el7
devtoolset-4-jackson-databind-javadoc Red Hat:rhel_software_collections:2::el7All versions0:2.5.0-2.4.el7
rh-eclipse46-jackson-databind Red Hat:rhel_software_collections:2::el7All versions0:2.6.3-2.3.el7
rh-eclipse46-jackson-databind-javadoc Red Hat:rhel_software_collections:2::el7All versions0:2.6.3-2.3.el7

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

How do I fix CVE-2017-7525?

Upgrade com.fasterxml.jackson.core:jackson-databind to a fixed version for your release line: 2.6.7.1, 2.7.9.1 or 2.8.9.

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

Is CVE-2017-7525 being exploited?

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

Public exploit code: 5 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as CLEANSTART-2026-NM36823, DEBIAN-CVE-2017-7525, DSA-4004-1, GHSA-qxxx-2pp7-5hmx, MGASA-2017-0255, RHSA-2017:1839 and 3 more.

Is CVE-2017-7525 in your software?

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

Check your SBOMs for free