PT-2012-2222 · Red Hat · Resteasy
David Jorm
·
Published
2012-11-23
·
Updated
2022-05-17
·
CVE-2011-5245
CVSS v2.0
5.0
Medium
| Vector | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
RESTEasy versions prior to 2.3.2
Description
The issue allows remote attackers to read arbitrary files via an external entity reference in a Java Architecture for XML Binding (JAXB) input. This is an XML external entity (XXE) injection attack.
Recommendations
For versions prior to 2.3.2, update to version 2.3.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
readFrom function in providers.jaxb.JAXBXmlTypeProvider to minimize the risk of exploitation.Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Resteasy