Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-43398: REXML is an XML toolkit for Ruby

43
This month
MEDIUM 5.9REMOTEUPGRADEMITIGATE

CVE-2024-43398 is a medium-severity flaw (CVSS 5.9) affecting rexml, bootstrap os. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 th

Why this priority

  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score5.9 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance1.2% (top 32%)
CISA exploited listNo
WeaknessCWE-776
Published2024-08-22
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: netapp · ruby-lang

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ruby-lang rexml UPGRADE
Affected: < 3.3.6
Fixed in: 3.3.6
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy rexml || rpm -q rexml || rexml --version
2. UPGRADE to 3.3.6 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade rexml
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade rexml
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
netapp bootstrap os MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-43398?

rexml: upgrade to 3.3.6; bootstrap os: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2024-43398 being exploited?

CVE-2024-43398 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-43398 affect?

CVE-2024-43398 affects rexml, bootstrap os. Severity is medium (CVSS 5.9). 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

How urgent is CVE-2024-43398?

Priority 43/100. Remotely exploitable, no login, no user action

Software pages

Ruby vulnerabilities · Bootstrap vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.