CVE-2016-7051 jackson-dataformat-xml vulnerable to server side request forgery (SSRF)

High 8.6 Published Updated

Remote attackers can perform server-side request forgery attacks via DTD vectors in the Jackson XML dataformat component.

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

What is CVE-2016-7051?

CVE-2016-7051 is a high-severity server-side request forgery vulnerability in n/a, published on 14 Apr 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

XmlMapper in the Jackson XML dataformat component (aka jackson-dataformat-xml) before 2.7.8 and 2.8.x before 2.8.4 allows remote attackers to conduct server-side request forgery (SSRF) attacks via vectors related to a DTD.

Weakness: CWE-918, CWE-611

Which versions are affected by CVE-2016-7051?

4 open source packages ship an affected version, including com.fasterxml.jackson.dataformat:jackson-dataformat-xml. It affects 1 product.

PackageAffectedFixed in
com.fasterxml.jackson.dataformat:jackson-dataformat-xml MavenAll versions2.7.8
com.fasterxml.jackson.dataformat:jackson-dataformat-xml MavenAll versions2.7.8
com.fasterxml.jackson.dataformat:jackson-dataformat-xml MavenFrom 2.8.02.8.4
com.fasterxml.jackson.dataformat:jackson-dataformat-xml MavenFrom 2.8.02.8.4

Products include Fasterxml Jackson-Dataformat-Xml.

How do I fix CVE-2016-7051?

Upgrade com.fasterxml.jackson.dataformat:jackson-dataformat-xml to a fixed version for your release line: 2.7.8 or 2.8.4.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2016-7051 being exploited?

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

Sources

Also known as DEBIAN-CVE-2016-7051, GHSA-7c2r-3jqf-c9rw, UBUNTU-CVE-2016-7051.

Is CVE-2016-7051 in your software?

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

Check your SBOMs for free