CWE
200
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2011-5245: Infoleak

First published: Mon Jan 30 2012(Updated: )

RESTEasy permits XXE (XML eXternal Entity) attacks. If a RESTEasy endpoint is deployed, a user can submit a request containing an external XML entity. This XML entity will be resolved, allowing a remote attacker to read files in the context of the user running the application server. This flaw affects DOM Document, JAXB and Fast Infoset (FI) input. Upstream bugs: <a href="https://issues.jboss.org/browse/RESTEASY-637">https://issues.jboss.org/browse/RESTEASY-637</a> <a href="https://issues.jboss.org/browse/RESTEASY-647">https://issues.jboss.org/browse/RESTEASY-647</a> <a href="https://issues.jboss.org/browse/RESTEASY-659">https://issues.jboss.org/browse/RESTEASY-659</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
maven/org.jboss.resteasy:resteasy-jaxb-provider<2.3.2
2.3.2
Red Hat Resteasy Base JAX-RS API<=2.3.1
Red Hat Resteasy Base JAX-RS API=1.0.0
Red Hat Resteasy Base JAX-RS API=1.0.1
Red Hat Resteasy Base JAX-RS API=1.0.2
Red Hat Resteasy Base JAX-RS API=1.1
Red Hat Resteasy Base JAX-RS API=1.2
Red Hat Resteasy Base JAX-RS API=2.0.0
Red Hat Resteasy Base JAX-RS API=2.0.1
Red Hat Resteasy Base JAX-RS API=2.1.0
Red Hat Resteasy Base JAX-RS API=2.2.0
Red Hat Resteasy Base JAX-RS API=2.2.1
Red Hat Resteasy Base JAX-RS API=2.2.2
Red Hat Resteasy Base JAX-RS API=2.2.3
Red Hat Resteasy Base JAX-RS API=2.3.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2011-5245?

    CVE-2011-5245 is classified as a critical vulnerability due to its potential for remote file access.

  • How do I fix CVE-2011-5245?

    To fix CVE-2011-5245, upgrade the RESTEasy library to version 2.3.2 or later.

  • Which versions are affected by CVE-2011-5245?

    CVE-2011-5245 affects all versions of RESTEasy prior to 2.3.2, including versions 1.0.0 through 2.3.1.

  • What type of attack does CVE-2011-5245 permit?

    CVE-2011-5245 permits XML eXternal Entity (XXE) attacks, which can lead to unauthorized file access.

  • Can I continue using RESTEasy if I have CVE-2011-5245?

    It is highly discouraged to continue using affected versions of RESTEasy, as this could expose your application to critical risks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203