RHSA-2012:1058: Moderate: resteasy security update

Published Jul 5, 2012
·
Updated

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

Affected Software

10 affected componentsFixes available
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

Remediation

Event History

Jul 5, 2012
Advisory Published
12:00 AM

Frequently Asked Questions

1

What is the severity of RHSA-2012:1058?

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

2

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.

3

Which packages are affected by RHSA-2012:1058?

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

4

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

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

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203