CVE-2024-41946: REXML DoS vulnerability
Vulnerability summary
CVE-2024-41946 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in ruby-lang rexml. EPSS estimates a 1.19% chance of exploitation in the next 30 days, higher than 69% 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 15 · Related 21Timeline
- 01-08-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
REXML is an XML toolkit for Ruby. The REXML gem 3.3.2 has a DoS vulnerability when it parses an XML that has many entity expansions with SAX2 or pull parser API. The REXML gem 3.3.3 or later include the patch to fix the vulnerability.
CVSS metrics
9 scores · 8 sources · 2 versions- CVE.orgCNA5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · RubygemsEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.19%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.19% 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 causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard25 products
- jruby-9.4< 9.4.9.0-r0
- jruby-9.4-default-ruby< 9.4.9.0-r0
- kube-fluentd-operator< 1.18.2-r14
- kube-fluentd-operator-compat< 1.18.2-r14
- kube-fluentd-operator-default-config< 1.18.2-r14
Wolfi16 products
- jruby-9.4< 9.4.9.0-r0
- jruby-9.4-default-ruby< 9.4.9.0-r0
- kube-fluentd-operator< 1.18.2-r14
- kube-fluentd-operator-compat< 1.18.2-r14
- kube-fluentd-operator-default-config< 1.18.2-r14
Ubuntu6 products
- jrubyAll versions (No fix recorded)
- ruby2.3< 2.3.1-2~ubuntu16.04.16+esm11
- ruby2.5< 2.5.1-1ubuntu1.16+esm6
- ruby2.7< 2.7.0-5ubuntu1.15
- ruby3.0< 3.0.2-7ubuntu2.8
Debian2 products
- ruby3.1< 3.1.7-1~deb12u2 | All versions (No fix recorded)
- ruby3.3< 3.3.5-1
Alpine1 product
- ruby-rexml< 3.3.9-r0
Ruby1 product
- rexml< 3.3.3
Ruby-lang1 product
- rexml< 3.3.3
RubyGems1 product
- rexml< 3.3.3
8 vendors · 53 products
References
18 links- github.com/ruby/rexml/security/advisories/GHSA-5866-49gr-22v4X Refsource CONFIRMREPORTAdvisoryWEBVendor Advisory
- github.com/ruby/rexml/commit/033d1909a8f259d5a7c53681bcaf14f13bcf0368X Refsource MISCREPORTFIXWEBPatch
Show all 18 references
- github.com/ruby/rexmlPACKAGE