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.
Metrics
CVSS 3.1 4.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| ruby | rexml | < 3.3.2 |
| ruby-lang | rexml | < 3.3.2 |
References
- https://github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8Vendor Advisory
- https://www.ruby-lang.org/en/news/2024/07/16/dos-rexml-cve-2024-39908Vendor Advisory
- https://github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html
- https://security.netapp.com/advisory/ntap-20250117-0008/Third Party Advisory
- https://www.ruby-lang.org/en/news/2024/07/16/dos-rexml-cve-2024-39908Vendor Advisory
Timeline
- Published
- Jul 16, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Modified