Read the docs
TI-2024-23250 Aliases CVE-2024-35176GHSA-vg3r-rm7w-2xgh

REXML contains a denial of service vulnerability

Priority LOW 34CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 3 fixed, 6 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.

Summary

REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02064 81st percentileScored 2026-11-07
Fix Partial rexml (ruby): 3.2.7rexml (RubyGems): 3.2.7Red Hat: 2 advisoriesRed Hat: 3 fixed, 6 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rubyrexmlbefore 3.2.73.2.7Patch availableCNA
—rexml (RubyGems)before 3.2.73.2.7Patch availableGHSA-vg3r-rm7w-2xgh
  • rexml Vendorruby Affected before 3.2.7 Fixed in 3.2.7 Patch available CNA
  • rexml (RubyGems) Vendor— Affected before 3.2.7 Fixed in 3.2.7 Patch available GHSA-vg3r-rm7w-2xgh

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:*before 3.2.7Vulnerableruby
  • cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:* Versions before 3.2.7 Vulnerable ·ruby

Remediation

  • Fix · CNA rexml (ruby) Fixed in 3.2.7
  • Fix · GHSA-vg3r-rm7w-2xgh rexml (RubyGems) Fixed in 3.2.7 Advisory →

Red Hat 2 advisories

  • RHSA-2024:5338 Released 2024-08-13 · Red Hat rating Low
    pcs security update
    • Red Hat Enterprise Linux HighAvailability (v. 8) pcs-0.10.18-2.el8_10.1, pcs-snmp-0.10.18-2.el8_10.1
    • Red Hat Enterprise Linux ResilientStorage (v. 8) pcs-0.10.18-2.el8_10.1, pcs-snmp-0.10.18-2.el8_10.1
  • RHSA-2024:4499 Released 2024-07-11 · Red Hat rating Moderate
    ruby security update
    • Red Hat Enterprise Linux AppStream (v. 8) ruby-2.5.9-112.module+el8.10.0+22021+135c76a8.aarch64::ruby:2.5, ruby-2.5.9-112.module+el8.10.0+22021+135c76a8.i686::ruby:2.5, ruby-2.5.9-112.module+el8.10.0+22021+135c76a8.ppc64le::ruby:2.5 +47

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Storage 3AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2024:4499
Red Hat Enterprise Linux HighAvailability (v. 8)Fixed RHSA-2024:5338
Red Hat Enterprise Linux ResilientStorage (v. 8)Fixed RHSA-2024:5338

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-35176
  2. 2026-10-03 Alias added: GHSA-vg3r-rm7w-2xgh

References

  • TI-2024-27968 REXML DoS vulnerability CVSS 3.1HIGH 7.5
  • TI-2024-27475 REXML DoS vulnerability CVSS 3.1HIGH 7.5
  • TI-2021-09890 The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1… CVSS 3.1HIGH 7.5
  • TI-2024-33228 REXML ReDoS vulnerability CVSS 4.0MEDIUM 6.6
  • TI-2024-29047 REXML denial of service vulnerability CVSS 3.1MEDIUM 5.9
  • TI-2024-26802 Denial of service in REXML CVSS 3.1MEDIUM 4.3
See all 7 →

Sources