Live threats

All CVEs / Ruby-lang

CVE-2024-43398Ruby-lang Rexml

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
1.6%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Aug 22, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-776
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.

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.6 3.3.6 gem "rexml", ">= 3.3.6"

Per OSV / GitHub Advisories (GHSA-vmwr-mc7x-5vc3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-langrexml< 3.3.6
netappbootstrap_osall

Official sources

References

Links published by the sources. Open them with care.