RHSA-2012:1059: 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 EnterpriseApplication Platform's "jboss-as/server/[PROFILE]/deploy/" directory, alongwith all other customized configuration files.Users of JBoss Enterprise Application Platform 5.1.2 on Red Hat EnterpriseLinux 4, 5, and 6 should upgrade to these updated packages, which correctthis issue. The JBoss server process must be restarted for this update totake effect.

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:1059?

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

2

How do I fix RHSA-2012:1059?

To fix RHSA-2012:1059, you should update to the remedial version 1.2.1-10.CP02_patch01.1.ep5.el6 or later.

3

What vulnerability does RHSA-2012:1059 address?

RHSA-2012:1059 addresses a vulnerability to XML External Entity (XXE) attacks in RESTEasy.

4

Which packages are affected by RHSA-2012:1059?

The affected packages include resteasy, resteasy-examples, resteasy-javadoc, and resteasy-manual across both el6 and el5 versions.

5

Is RHSA-2012:1059 relevant for both Red Hat Enterprise Linux 5 and 6?

Yes, RHSA-2012:1059 is relevant for both Red Hat Enterprise Linux 5 and 6.

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