What’s Vulnerable › Vulnerabilities

CVE-2024-39908: Denial of service in REXML

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.

Affected products

How to fix

Upgrade to a fixed version: ruby rexml 3.3.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-39908 or the next vulnerability affects your stack