CVE-2024-39908: REXML denial of service vulnerability
(updated )
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 may be impacted to these vulnerabilities.
References
- github.com/advisories/GHSA-4xqq-m2hx-25v8
- github.com/ruby/rexml
- github.com/ruby/rexml/releases/tag/v3.3.2
- github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2024-39908.yml
- lists.debian.org/debian-lts-announce/2025/01/msg00011.html
- nvd.nist.gov/vuln/detail/CVE-2024-39908
- security.netapp.com/advisory/ntap-20250117-0008
- www.ruby-lang.org/en/news/2024/07/16/dos-rexml-cve-2024-39908
Code Behaviors & Features
Detect and mitigate CVE-2024-39908 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →