WaratekVRT Sign in

CVE-2012-0818 RESTEasy

Affected softwareRESTEasy
Severity5.0 Medium CVSS 2.0
Fixed in2.3.1
WeaknessInformation exposure (CWE-200)
Published23 Nov 2012
Updated16 Jun 2026

Description

RESTEasy before 2.3.1 allows remote attackers to read arbitrary files via an external entity reference in a DOM document, aka an XML external entity (XXE) injection attack.

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-2012-0818

Upgrade RESTEasy to 2.3.1 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-client 0 2.3.1 unbounded

Products and versions

2 products, 14 version entries
SourceVendorProductSchemeAffected versions
osv org.jboss.resteasy resteasy-client generic < 2.3.1
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

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=785631 bugzilla
https://github.com/resteasy/resteasy/commit/71ace879cf92d323bfa4d3e88db0c3059109bbf6 WEB
https://web.archive.org/web/20200229045254/https://www.securityfocus.com/bid/51766 WEB
https://web.archive.org/web/20200229044434/http://www.securityfocus.com/bid/51748 WEB
https://issues.jboss.org/browse/RESTEASY-637 WEB
https://github.com/resteasy/Resteasy PACKAGE
https://exchange.xforce.ibmcloud.com/vulnerabilities/72808 WEB
https://access.redhat.com/security/cve/CVE-2012-0818 WEB
https://access.redhat.com/errata/RHSA-2014:0372 WEB
https://access.redhat.com/errata/RHSA-2014:0371 WEB

Timeline

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