REXML contains a denial of service vulnerability
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ruby | rexml | before 3.2.7 | 3.2.7 | Patch available | CNA |
| — | rexml (RubyGems) | before 3.2.7 | 3.2.7 | Patch available | GHSA-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
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 Lowpcs 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 Moderateruby 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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Storage 3 | Affected | No 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
- 2026-10-02 Threatist record created from CVE-2024-35176
- 2026-10-03 Alias added: GHSA-vg3r-rm7w-2xgh
References
Advisory 4
More ruby Rexml vulnerabilities
- 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
Sources
- CVE-2024-35176 · CVE Program
- CVE-2024-35176 · NVD
- FIRST EPSS
- GHSA-vg3r-rm7w-2xgh · GitHub Advisory Database · CC BY 4.0
- CVE-2024-35176 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences