Medium severity · published Jul 16, 2024
CVE-2024-39908
Denial of service in REXML
4.3
CVSS
1.5%
EPSS
No
On KEV
Description
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as `<`, `0` and `%>`. If you need to parse untrusted XMLs, you many be impacted to these vulnerabilities. The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities. Users are advised to upgrade. Users unable to upgrade should avoid parsing untrusted XML strings.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.5% · higher than 74% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
rexml · ruby
< 3.3.2 · source: vendor, NVD, CISA
BO
Bootstrap OS · Netapp
All versions, or not specified · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-39908
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-39908
Vendor Advisory
https://github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8
Vendor Advisory
https://www.ruby-lang.org/en/news/2024/07/16/dos-rexml-cve-2024-39908
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html
Third Party Advisory
https://security.netapp.com/advisory/ntap-20250117-0008/
More from rexml
7.5
CVE-2024-49761
REXML ReDoS vulnerability
7.5
CVE-2024-41946
REXML DoS vulnerability
7.5
CVE-2024-41123
REXML DoS vulnerability
5.9
CVE-2024-43398
REXML denial of service vulnerability
5.3
CVE-2025-58767
REXML has a DoS condition when parsing malformed XML file
