Live threats

All CVEs / Redhat

CVE-2011-5245Redhat Resteasy

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
3.2%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Nov 23, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200
Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Resteasy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.jboss.resteasy:resteasy-jaxb-provider < 2.3.2 2.3.2 —

Per OSV / GitHub Advisories (GHSA-g4jg-gpwv-p7wv). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatresteasy≤ 2.3.1
redhatresteasy1.0.0
redhatresteasy1.0.1
redhatresteasy1.0.2
redhatresteasy1.1
redhatresteasy1.2
redhatresteasy2.0.0
redhatresteasy2.0.1
redhatresteasy2.1.0
redhatresteasy2.2.0
redhatresteasy2.2.1
redhatresteasy2.2.2
redhatresteasy2.2.3
redhatresteasy2.3.0

Official sources

References

Links published by the sources. Open them with care.