CVE-2011-5245

Summary

CVECVE-2011-5245
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-11-23 20:55:02 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:N/A:N

Problem Types: CWE-200 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:N/AC:L/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Redhat Resteasy 1.0.0 All All All
Application Redhat Resteasy 1.0.1 All All All
Application Redhat Resteasy 1.0.2 All All All
Application Redhat Resteasy 1.1 All All All
Application Redhat Resteasy 1.2 All All All
Application Redhat Resteasy 2.0.0 All All All
Application Redhat Resteasy 2.0.1 All All All
Application Redhat Resteasy 2.1.0 All All All
Application Redhat Resteasy 2.2.0 All All All
Application Redhat Resteasy 2.2.1 All All All
Application Redhat Resteasy 2.2.2 All All All
Application Redhat Resteasy 2.2.3 All All All
Application Redhat Resteasy 2.3.0 All All All
Application Redhat Resteasy All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Bug 785631 – CVE-2011-5245 CVE-2012-0818 RESTEasy: XML eXternal Entity (XXE) flaw af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
www.osvdb.org/78680 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org
rhn.redhat.com/errata/RHSA-2012-1125.html af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Security Advisory SA50084 - Red Hat update for JBoss Enterprise SOA Platform - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
RESTEasy JaxB XML Entity References Information Disclosure Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Error - Red Hat Issue Tracker af854a3a-2127-422b-91ae-364da2661108 issues.jboss.org
[RESTEASY-647] RestEasy and XXE injection - Services that accept XML are vulnerable to XXE attacks, Part II - Red Hat Issue Tracker af854a3a-2127-422b-91ae-364da2661108 issues.jboss.org Patch
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
rhn.redhat.com/errata/RHSA-2012-1057.html af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Security Advisory SA57719 - Red Hat update for Red Hat JBoss BRMS - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Security Advisory SA57716 - Red Hat update for Red Hat JBoss BPM Suite - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Security Advisory SA47832 - RESTEasy JAXB XML Entity References Information Disclosure Vulnerability - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report