Advisory Published

RHSA-2012:1058: Moderate: resteasy security update

First published: Thu Jul 05 2012(Updated: )

RESTEasy provides various frameworks to help you build RESTful web services<br>and RESTful Java applications.<br>It was found that RESTEasy was vulnerable to XML External Entity (XXE)<br>attacks. If a remote attacker submitted a request containing an external<br>XML entity to a RESTEasy endpoint, the entity would be resolved, allowing<br>the attacker to read files accessible to the user running the application<br>server. This flaw affected DOM (Document Object Model) Document and JAXB<br>(Java Architecture for XML Binding) input. (CVE-2012-0818)<br>Note: The fix for CVE-2012-0818 is not enabled by default. This update adds<br>a new configuration option to disable entity expansion in RESTEasy. If<br>applications on your server expose RESTEasy XML endpoints, a<br>resteasy.document.expand.entity.references configuration snippet must be<br>added to their web.xml file to disable entity expansion in RESTEasy. Refer<br>to Red Hat Bugzilla bug 785631 for details.<br>Warning: Before applying this update, back up your JBoss Enterprise Web<br>Platform's "jboss-as-web/server/[PROFILE]/deploy/" directory and any other<br>customized configuration files.<br>Users of JBoss Enterprise Web Platform 5.1.2 on Red Hat Enterprise Linux 4,<br>5, and 6 should upgrade to these updated packages, which correct this<br>issue. The JBoss server process must be restarted for this update to take<br>effect.<br>

Affected SoftwareAffected VersionHow to fix
redhat/resteasy<1.2.1-10.CP02_patch01.1.ep5.el6
1.2.1-10.CP02_patch01.1.ep5.el6
redhat/resteasy<1.2.1-10.CP02_patch01.1.ep5.el6
1.2.1-10.CP02_patch01.1.ep5.el6
redhat/resteasy-examples<1.2.1-10.CP02_patch01.1.ep5.el6
1.2.1-10.CP02_patch01.1.ep5.el6
redhat/resteasy-javadoc<1.2.1-10.CP02_patch01.1.ep5.el6
1.2.1-10.CP02_patch01.1.ep5.el6
redhat/resteasy-manual<1.2.1-10.CP02_patch01.1.ep5.el6
1.2.1-10.CP02_patch01.1.ep5.el6
redhat/resteasy<1.2.1-10.CP02_patch01.1.ep5.el5
1.2.1-10.CP02_patch01.1.ep5.el5
redhat/resteasy<1.2.1-10.CP02_patch01.1.ep5.el5
1.2.1-10.CP02_patch01.1.ep5.el5
redhat/resteasy-examples<1.2.1-10.CP02_patch01.1.ep5.el5
1.2.1-10.CP02_patch01.1.ep5.el5
redhat/resteasy-javadoc<1.2.1-10.CP02_patch01.1.ep5.el5
1.2.1-10.CP02_patch01.1.ep5.el5
redhat/resteasy-manual<1.2.1-10.CP02_patch01.1.ep5.el5
1.2.1-10.CP02_patch01.1.ep5.el5

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.

Frequently Asked Questions

  • What is the severity of RHSA-2012:1058?

    The severity of RHSA-2012:1058 is classified as moderate.

  • How do I fix RHSA-2012:1058?

    To fix RHSA-2012:1058, update to version 1.2.1-10.CP02_patch01.1.ep5.el6 or later for affected packages.

  • Which packages are affected by RHSA-2012:1058?

    The affected packages include resteasy, resteasy-examples, resteasy-javadoc, and resteasy-manual across the specified versions.

  • What type of attack is addressed in RHSA-2012:1058?

    RHSA-2012:1058 addresses vulnerabilities related to XML External Entity (XXE) attacks.

  • What does RHSA-2012:1058 mean for my system?

    RHSA-2012:1058 indicates that your system may be vulnerable to specific XML-related exploits if running the affected versions of RESTEasy.

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