Exposure of Sensitive Information to an Unauthorized Actor in RESTEasy
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.jboss.resteasy:resteasy-jaxb-provider | < 2.3.2 | 2.3.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-5245
- https://github.com/resteasy/resteasy/pull/34
- https://bugzilla.redhat.com/show_bug.cgi?id=785631
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72808
- https://github.com/resteasy/Resteasy
- https://issues.jboss.org/browse/RESTEASY-647
- https://issues.jboss.org/browse/RESTEASY/fixforversion/12318708
- http://rhn.redhat.com/errata/RHSA-2012-1056.html
- http://rhn.redhat.com/errata/RHSA-2012-1058.html
- http://rhn.redhat.com/errata/RHSA-2012-1059.html
- http://rhn.redhat.com/errata/RHSA-2014-0371.html
- http://rhn.redhat.com/errata/RHSA-2014-0372.html
- http://www.osvdb.org/78680
- Weakness (CWE)
CWE-200- Platform
- Java / Kotlin (Maven)
- Package
org.jboss.resteasy:resteasy-jaxb-provider- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-g4jg-gpwv-p7wv - CC BY 4.0
Vulnerability history: org.jboss.resteasy:resteasy-jaxb-provider
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.