Skip to content
Noroxi
CVE-2024-43398· NVD / CVE Program· CNA GitHub_M

REXML denial of service vulnerability

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.

MediumCVSS 5.9 · v3.1—No exploit Fix available
Published
Aug 22, 2024
Updated
Jun 17, 2026
EPSS
1.2% · 67th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

23

Monitor

Low priority for now.

CVSS
23 / 40 · 5.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · GitHub_M
5.9
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
ruby-langrexml
netappbootstrap os
netapphci compute node

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • netapp bootstrap osall versions
  • ruby-lang rexmlbefore 3.3.6

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • ruby rexml

    • < 3.3.6affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8pcsbefore 0.10.18-2.el8_10.2.alma.10.10.18-2.el8_10.2.alma.1
AlmaLinux:8pcs-snmpbefore 0.10.18-2.el8_10.2.alma.10.10.18-2.el8_10.2.alma.1
AlmaLinux:8rubybefore 3.1.7-145.module_el8.10.0+3984+cf55e3df3.1.7-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8rubybefore 3.3.5-3.module_el8.10.0+3894+6d587c813.3.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8ruby-bundled-gemsbefore 3.3.5-3.module_el8.10.0+3894+6d587c813.3.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8ruby-bundled-gemsbefore 3.1.7-145.module_el8.10.0+3984+cf55e3df3.1.7-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8ruby-default-gemsbefore 3.1.7-145.module_el8.10.0+3984+cf55e3df3.1.7-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8ruby-default-gemsbefore 3.3.5-3.module_el8.10.0+3894+6d587c813.3.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8ruby-develbefore 3.3.5-3.module_el8.10.0+3894+6d587c813.3.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8ruby-develbefore 3.1.7-145.module_el8.10.0+3984+cf55e3df3.1.7-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8ruby-docbefore 3.3.5-3.module_el8.10.0+3894+6d587c813.3.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8ruby-docbefore 3.1.7-145.module_el8.10.0+3984+cf55e3df3.1.7-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8ruby-libsbefore 3.3.5-3.module_el8.10.0+3894+6d587c813.3.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8ruby-libsbefore 3.1.7-145.module_el8.10.0+3984+cf55e3df3.1.7-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8rubygem-abrtbefore 0.4.0-1.module_el8.10.0+3799+191214cc0.4.0-1.module_el8.10.0+3799+191214cc
AlmaLinux:8rubygem-abrtbefore 0.4.0-1.module_el8.9.0+3746+91b8233a0.4.0-1.module_el8.9.0+3746+91b8233a
AlmaLinux:8rubygem-abrt-docbefore 0.4.0-1.module_el8.10.0+3854+02eaa59a0.4.0-1.module_el8.10.0+3854+02eaa59a
AlmaLinux:8rubygem-abrt-docbefore 0.4.0-1.module_el8.10.0+3799+191214cc0.4.0-1.module_el8.10.0+3799+191214cc
AlmaLinux:8rubygem-bigdecimalbefore 3.1.5-3.module_el8.10.0+3894+6d587c813.1.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8rubygem-bigdecimalbefore 3.1.1-145.module_el8.10.0+3984+cf55e3df3.1.1-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8rubygem-bundlerbefore 2.5.16-3.module_el8.10.0+3894+6d587c812.5.16-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8rubygem-bundlerbefore 2.3.27-145.module_el8.10.0+3984+cf55e3df2.3.27-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8rubygem-io-consolebefore 0.7.1-3.module_el8.10.0+3894+6d587c810.7.1-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8rubygem-io-consolebefore 0.5.11-145.module_el8.10.0+3984+cf55e3df0.5.11-145.module_el8.10.0+3984+cf55e3df

+96

Other highest-scoring records for the same primary product.

  • CVE-2021-28965The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues.
    32Monitor
  • CVE-2024-41946REXML DoS vulnerability
    30Monitor
  • CVE-2024-41123REXML DoS vulnerability
    30Monitor
  • CVE-2024-49761REXML ReDoS vulnerability
    26Monitor
  • CVE-2024-35176REXML contains a denial of service vulnerability
    22Monitor
  • CVE-2024-39908Denial of service in REXML
    17Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:pcs0.10.18-2.el8_10.2.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:pcs-snmp0.10.18-2.el8_10.2.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:ruby3.3.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:ruby-bundled-gems3.3.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:ruby-default-gems3.3.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:ruby-devel3.3.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:ruby-doc3.3.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:ruby-libs3.3.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-abrt0.4.0-1.module_el8.10.0+3799+191214cc · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-abrt-doc0.4.0-1.module_el8.10.0+3799+191214cc · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-bigdecimal3.1.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-bundler2.5.16-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
alpine:ruby-rexml3.3.9-r0 · Alpine:v3.19Package registry (OSV)
debian:ruby2.72.7.4-1+deb11u3 · Debian:11Package registry (OSV)
debian:ruby3.33.3.5-1 · Debian:13Package registry (OSV)
opensuse:rubygem-rexml3.3.9-bp156.4.3.1 · openSUSE:Leap 15.6Package registry (OSV)
red hat:pcs0:0.10.18-2.el8_10.2 · Red Hat:enterprise_linux:8::highavailabilityPackage registry (OSV)
red hat:pcs-snmp0:0.10.18-2.el8_10.2 · Red Hat:enterprise_linux:8::highavailabilityPackage registry (OSV)
red hat:ruby0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-bundled-gems0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-bundled-gems-debuginfo0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-debuginfo0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-debugsource0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-default-gems0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-devel0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-doc0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-libs0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-libs-debuginfo0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
rocky linux:pcs0:0.10.18-2.el8_10.2 · Rocky Linux:8Package registry (OSV)
rocky linux:ruby0:3.3.5-3.module+el8.10.0+1867+7989c958 · Rocky Linux:8Package registry (OSV)

+6

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records