CVE-2024-41123
HIGH7.5EPSS 0.24%REXML DoS vulnerability
Published: 8/1/2024Modified: 4/28/2026
Description
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.
Affected packages (5)
- Alpine/ruby-rexmlfrom 0, < 3.3.9-r0
- Debian/ruby2.7from 0, < 2.7.4-1+deb11u3
- Debian/ruby3.1from 0
- Debian/ruby3.3from 0, < 3.3.5-1
- RubyGems/rexmlfrom 0, < 3.3.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-41123
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2024-41123
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-41123
- PATCHhttps://github.com/ruby/rexml
- WEBhttps://github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8
- WEBhttps://github.com/ruby/rexml/security/advisories/GHSA-r55c-59qm-vjw6
- WEBhttps://github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2024-41123.yml
- WEBhttps://lists.debian.org/debian-lts-announce/2025/01/msg00011.html
- WEBhttps://security.netapp.com/advisory/ntap-20241227-0005
- WEBhttps://www.ruby-lang.org/en/news/2024/08/01/dos-rexml-cve-2024-41123