WaratekVRT Sign in

CVE-2011-5245 RESTEasy

Affected softwareRESTEasy
Severity5.0 Medium CVSS 2.0
Fixed in2.3.2
WeaknessInformation exposure (CWE-200)
Published23 Nov 2012
Updated16 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.

  • 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

Protected by Waratek

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.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.jboss.resteasy:resteasy-jaxb-provider 0 2.3.2 unbounded

Products and versions

2 products, 15 version entries
SourceVendorProductSchemeAffected 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

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=785631 bugzilla
https://github.com/resteasy/resteasy/pull/34 WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/72808 WEB
https://github.com/resteasy/Resteasy PACKAGE
https://issues.jboss.org/browse/RESTEASY-647 WEB
https://issues.jboss.org/browse/RESTEASY/fixforversion/12318708 WEB
http://rhn.redhat.com/errata/RHSA-2012-1056.html WEB
http://rhn.redhat.com/errata/RHSA-2012-1058.html WEB
http://rhn.redhat.com/errata/RHSA-2012-1059.html WEB
http://rhn.redhat.com/errata/RHSA-2014-0371.html WEB

Timeline

Published2012-11-23By the CVE Program.
NVD record modified2026-06-16NVD's own last-modified date for this record.