Resource exhaustion in Ruby Rexml
CVE-2024-41123
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.2 has some DoS vulnerabilities when it parses an XML that has many specific characters such as whitespace character, `>]` and `]>`. The REXML gem 3.3.3 or later include the patches to fix these vulnerabilities.
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.013, 70.6th 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 3 other repositories (ch4n3-yoon/ch4n3-yoon, fkie-cad/nvd-json-data-feeds, lifeparticle/Ruby-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-r55c-59qm-vjw6 (Vendor Advisory)
- https://github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8 (Not Applicable)
- https://github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh (Not Applicable)
- https://www.ruby-lang.org/en/news/2024/08/01/dos-rexml-cve-2024-41123 (Vendor Advisory)
- lists.debian.org/debian-lts-announce/2025/01/msg00011.html
- security.netapp.com/advisory/ntap-20241227-0005/