Vulnerabilities · 2024 · Ruby-lang
CVE-2024-35176
Ruby-lang Rexml vulnerability
REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.
Affected products
Rexml. 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-20250306-0001/ · Third Party Advisory
- github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh
- github.com/ruby/rexml/commit/4325835f92f3f142ebd91a3fdba4e1f1ab7f1cfb
- www.ruby-lang.org/en/news/2024/05/16/dos-rexml-cve-2024-35176
- nvd.nist.gov/vuln/detail/CVE-2024-35176
- security.netapp.com/advisory/ntap-20250306-0001
- lists.debian.org/debian-lts-announce/2025/01/msg00011.html
- github.com/advisories/GHSA-vg3r-rm7w-2xgh
- nvd.nist.gov/vuln/detail/CVE-2024-35176
- cve.org/CVERecord?id=CVE-2024-35176
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.