Live threats

All CVEs / Ruby-lang

CVE-2024-39908Ruby-lang Rexml

Medium 4.3 No auth needed

Priority
41
CVSS 3.1
4.3
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Jul 16, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rexml.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems rexml < 3.3.2 3.3.2 gem "rexml", ">= 3.3.2"

Per OSV / GitHub Advisories (GHSA-4xqq-m2hx-25v8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-langrexml< 3.3.2
netappbootstrap_osall

Official sources

References

Links published by the sources. Open them with care.