Advisory Published
Updated

REDHAT-BUG-2307297

First published: Thu Aug 22 2024(Updated: )

REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.

Affected SoftwareAffected VersionHow to fix
Ruby REXML<3.3.6

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 REDHAT-BUG-2307297?

    The severity of REDHAT-BUG-2307297 is classified as a DoS vulnerability.

  • How do I fix REDHAT-BUG-2307297?

    To fix REDHAT-BUG-2307297, you should upgrade the REXML gem to version 3.3.6 or later.

  • What is the impact of REDHAT-BUG-2307297?

    The impact of REDHAT-BUG-2307297 is that it allows for denial of service during the parsing of deeply nested XML elements with same local name attributes.

  • Which versions of REXML are affected by REDHAT-BUG-2307297?

    REXML versions prior to 3.3.6 are affected by REDHAT-BUG-2307297.

  • What should I do if I use REXML for untrusted XMLs related to REDHAT-BUG-2307297?

    If you use REXML for untrusted XMLs, it is recommended to avoid using the tree parser API or ensure you have updated to version 3.3.6 or later to mitigate the vulnerability.

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