Vulnerabilities · 2024 · Ruby-lang
CVE-2024-41123
Ruby-lang Rexml vulnerability
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 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
- github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8
- github.com/ruby/rexml/security/advisories/GHSA-r55c-59qm-vjw6
- github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh
- nvd.nist.gov/vuln/detail/CVE-2024-41123
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2024-41123.yml
- www.ruby-lang.org/en/news/2024/08/01/dos-rexml-cve-2024-41123
- security.netapp.com/advisory/ntap-20241227-0005
- lists.debian.org/debian-lts-announce/2025/01/msg00011.html
- nvd.nist.gov/vuln/detail/CVE-2024-41123
- cve.org/CVERecord?id=CVE-2024-41123
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.