Vulnerabilities · 2024 · Ruby-lang
CVE-2024-39908
Ruby-lang Rexml vulnerability
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.
Affected products
Rexml, Bootstrap Os. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Rexml runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- security.netapp.com/advisory/ntap-20250117-0008/ · Third Party Advisory
- github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8
- nvd.nist.gov/vuln/detail/CVE-2024-39908
- github.com/ruby/rexml/releases/tag/v3.3.2
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2024-39908.yml
- www.ruby-lang.org/en/news/2024/07/16/dos-rexml-cve-2024-39908
- security.netapp.com/advisory/ntap-20250117-0008
- lists.debian.org/debian-lts-announce/2025/01/msg00011.html
- nvd.nist.gov/vuln/detail/CVE-2024-39908
- cve.org/CVERecord?id=CVE-2024-39908
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.