CVE-2016-8739 Improper Restriction of XML External Entity Reference in Apache CXF JAX-RS

High 7.5 Published Updated

An attacker can exploit XML External Entity vulnerabilities in Apache CXF's JAX-RS module to read sensitive files or cause denial of service.

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

CVE-2016-8739 is a high-severity vulnerability in Apache Cxf, published on 10 Aug 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The JAX-RS module in Apache CXF prior to 3.0.12 and 3.1.x prior to 3.1.9 provides a number of Atom JAX-RS MessageBodyReaders. These readers use Apache Abdera Parser which expands XML entities by default which represents a major XXE risk.

Weakness: CWE-611

Which versions are affected by CVE-2016-8739?

4 open source packages ship an affected version, including org.apache.cxf:cxf-core. It affects 1 product.

PackageAffectedFixed in
org.apache.cxf:cxf-core MavenAll versions3.0.12
org.apache.cxf:cxf-core MavenAll versions3.0.12
org.apache.cxf:cxf-core MavenFrom 3.1.03.1.9
org.apache.cxf:cxf-core MavenFrom 3.1.03.1.9

Products include Apache Cxf.

How do I fix CVE-2016-8739?

Upgrade org.apache.cxf:cxf-core to a fixed version for your release line: 3.0.12 or 3.1.9.

Is CVE-2016-8739 being exploited?

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

All Apache Cxf vulnerabilities

Sources

Also known as GHSA-x7xf-253v-x3w8.

Is CVE-2016-8739 in your software?

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

Check your SBOMs for free