VDB
Sign up
CRITICAL9.8

GHSA-xw5h-cmh3-8j6j

Apache CXF has Improper Restriction of XML External Entity Reference

Quick fix

GHSA-xw5h-cmh3-8j6j — org.apache.cxf:cxf-core: upgrade to the fixed version with the command below.

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

Details

Apache CXF's EndpointReferenceUtils and W3CMultiSchemaFactory classes construct a SAXParserFactory without the necessary JAXP hardening configurations, enabling out-of-band (OOB) external entity resolution. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fix this issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.cxf:cxf-core
Introduced in: 4.2.0Fixed in: 4.2.2
Fix# pom.xml: bump <version>4.2.2</version> for org.apache.cxf:cxf-core
Maven/org.apache.cxf:cxf-core
Introduced in: 0Fixed in: 4.1.7
Fix# pom.xml: bump <version>4.1.7</version> for org.apache.cxf:cxf-core

References