CVE-2011-5245 RESTEasy
| Affected software | RESTEasy |
|---|---|
| Severity | 5.0 Medium CVSS 2.0 |
| Fixed in | 2.3.2 |
| Weakness | Information exposure (CWE-200) |
| Published | 23 Nov 2012 |
| Updated | 16 Jun 2026 |
Description
The readFrom function in providers.jaxb.JAXBXmlTypeProvider in RESTEasy before 2.3.2 allows remote attackers to read arbitrary files via an external entity reference in a Java Architecture for XML Binding (JAXB) input, aka an XML external entity (XXE) injection attack, a similar vulnerability to CVE-2012-0818.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 13 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC none indexed
- EPSS 3.2% chance in 30 days
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full XXE
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's description identifies a XXE vulnerability. Matched by description (CWE-200 was assigned, but does not settle the class on its own). |
| Candidate fix | https://bugzilla.redhat.com/show_bug.cgi?id=785631 : a Red Hat bug: the triage, which links onward to the fix |
How to mitigate CVE-2011-5245
Upgrade RESTEasy to 2.3.2 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.jboss.resteasy:resteasy-jaxb-provider |
0 | 2.3.2 |
unbounded |
Products and versions
2 products, 15 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.jboss.resteasy | resteasy-jaxb-provider | generic | < 2.3.2 |
| nvd | redhat | resteasy | generic | 1.0.0 · 1.0.1 · 1.0.2 · 1.1 · 1.2 · 2.0.0 · 2.0.1 · 2.1.0 · 2.2.0 · 2.2.1 · 2.2.2 · 2.2.3 · 2.3.0 · ≤ 2.3.1 |
References
Timeline
Timeline
| Published | 2012-11-23 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-16 | NVD's own last-modified date for this record. |