Resource exhaustion in Ruby Rexml
CVE-2024-41946
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.012, 68.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby Rexml — versions < 3.3.3
- Ruby-Lang Rexml
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (fkie-cad/nvd-json-data-feeds, lifeparticle/Ruby-Cheatsheet, robertfischman/cheatsheet, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/ruby/rexml/security/advisories/GHSA-5866-49gr-22v4 (Vendor Advisory)
- https://github.com/ruby/rexml/commit/033d1909a8f259d5a7c53681bcaf14f13bcf0368 (Patch)
- https://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml (Not Applicable)
- https://www.ruby-lang.org/en/news/2024/08/01/dos-rexml-cve-2024-41946 (Vendor Advisory)
- lists.debian.org/debian-lts-announce/2025/01/msg00011.html
- security.netapp.com/advisory/ntap-20250117-0007/