CVE-2013-2160 — cxf-rt-frontend-jaxrs
CVE-2013-2160 is a CWE-399 vulnerability in org.apache.cxf:cxf-rt-frontend-jaxrs. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for org.apache.cxf:cxf-rt-frontend-jaxrs — see the affected versions and patch details below.
Missing XML Validation in Apache CXF
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.apache.cxf:cxf-rt-frontend-jaxrs☕org.apache.cxf:cxf-rt-frontend-jaxrs☕org.apache.cxf:cxf-rt-frontend-jaxrsReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
The streaming XML parser in Apache CXF 2.5.x before 2.5.10, 2.6.x before 2.6.7, and 2.7.x before 2.7.4 allows remote attackers to cause a denial of service (CPU and memory consumption) via crafted XML with a large number of (1) elements, (2) attributes, (3) nested constructs, and possibly other vectors.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.cxf:cxf-rt-frontend-jaxrs | ≥ 2.5.0&&< 2.5.10 | 2.5.10org.apache.cxf:cxf-rt-frontend-jaxrs:2.5.10 |
| ☕Maven | org.apache.cxf:cxf-rt-frontend-jaxrs | ≥ 2.6.0&&< 2.6.7 | 2.6.7org.apache.cxf:cxf-rt-frontend-jaxrs:2.6.7 |
| ☕Maven | org.apache.cxf:cxf-rt-frontend-jaxrs | ≥ 2.7.0&&< 2.7.4 | 2.7.4org.apache.cxf:cxf-rt-frontend-jaxrs:2.7.4 |
Affected Products
cxfapacheResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Apache CXF < 2.5.10/2.6.7/2.7.4 - Denial of Service
by SEC Consult · Jul 9, 2013
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.cxf:cxf-rt-frontend-jaxrs, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.cxf:cxf-rt-frontend-jaxrs to 2.5.10 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2013-2160 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Fuse ESB Enterprise 7.1.0 | see advisory | RHSA-2013:1028 |
| Red Hat JBoss Fuse 6.0 | see advisory | RHSA-2013:1185 |
| Red Hat JBoss Portal Platform 6.1 | cxf | RHSA-2013:1437 |
Frequently Asked Questions
Is CVE-2013-2160 in your dependencies?
Find it across Maven, including transitive dependencies.