VDB
Sign up
HIGH7.5

GHSA-x7xf-253v-x3w8

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

Quick fix

GHSA-x7xf-253v-x3w8 — org.apache.cxf:cxf-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>3.0.12</version> for org.apache.cxf:cxf-core

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.cxf:cxf-core
Introduced in: 0Fixed in: 3.0.12
Fix# pom.xml: bump <version>3.0.12</version> for org.apache.cxf:cxf-core
Maven/org.apache.cxf:cxf-core
Introduced in: 3.1.0Fixed in: 3.1.9
Fix# pom.xml: bump <version>3.1.9</version> for org.apache.cxf:cxf-core

References