org.apache.cxf:cxf-rt-rs-extension-providers@3.1.0 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.apache.cxf:cxf-rt-rs-extension-providers package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
XML External Entity (XXE) Injection

org.apache.cxf:cxf-rt-rs-extension-providers is a maven plugin for the Apache CXF JAX-RS Extension Providers.

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection. 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.

How to fix XML External Entity (XXE) Injection?

Upgrade org.apache.cxf:cxf-rt-rs-extension-providers to version 3.0.12, 3.1.9 or higher.

[3.0.0,3.0.12) [3.1.0,3.1.9)