CVE-2024-35176: REXML contains a denial of service vulnerability
Vulnerability summary
CVE-2024-35176 is a medium (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in ruby-lang rexml. EPSS estimates a 2.06% chance of exploitation in the next 30 days, higher than 82% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 17Timeline
- 16-05-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · Red hatEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · RubygemsEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
2.06%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.06% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard18 products
- jruby-9.4< 9.4.8.0-r0
- jruby-9.4-default-ruby< 9.4.8.0-r0
- kube-fluentd-operator< 1.18.2-r11
- kube-fluentd-operator-compat< 1.18.2-r11
- kube-fluentd-operator-default-config< 1.18.2-r11
Wolfi18 products
- jruby-9.4< 9.4.8.0-r0
- jruby-9.4-default-ruby< 9.4.8.0-r0
- kube-fluentd-operator< 1.18.2-r11
- kube-fluentd-operator-compat< 1.18.2-r11
- kube-fluentd-operator-default-config< 1.18.2-r11
Ubuntu6 products
- jrubyAll versions (No fix recorded)
- ruby2.3< 2.3.1-2~ubuntu16.04.16+esm11
- ruby2.5< 2.5.1-1ubuntu1.16+esm5
- ruby2.7< 2.7.0-5ubuntu1.16
- ruby3.0< 3.0.2-7ubuntu2.10
Redhat2 products
- pcs< 0:0.10.18-2.el8_10.1
- pcs-snmp< 0:0.10.18-2.el8_10.1
Debian1 product
- ruby3.1< 3.1.7-1~deb12u2 | All versions (No fix recorded)
Ruby1 product
- rexml< 3.2.7
Ruby-lang1 product
- rexml< 3.2.7
RubyGems1 product
- rexml< 3.2.7
8 vendors · 48 products
References
22 links- github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xghX Refsource CONFIRMARTICLEREPORTAdvisoryWEBVendor Advisory
- www.ruby-lang.org/en/news/2024/05/16/dos-rexml-cve-2024-35176X Refsource MISCARTICLEWEBVendor Advisory
Show all 22 references
- github.com/ruby/rexmlPACKAGE