En bref
- CVE-2024-39908 est une vulnérabilité MOYENNE (CVSS 4.3) touchant rexml, rexml (ruby-lang).
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 1.5%, plus élevée que 74.2% des vulnérabilités.
- Correctif : mettre à jour vers 3.3.2 ou plus récent.
| Package | Affected versions | Patched versions |
|---|
| rexml RubyGems | < 3.3.2
| 3.3.2
|
| rexml | < 3.3.2
| 3.3.2
|
Description
Impact
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.
Patches
The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities.
Workarounds
Don't parse untrusted XMLs.
References
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free