VDB

CVE-2024-43398

CVE-2024-43398 PUBLISHED CVSS 5.9 MEDIUM

REXML denial of service vulnerability

Reported by github_m · Published August 22, 2024

rexml is fixed in 3.3.6 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rexmlRubyGems3.3.6
ruby3.2-rexmlChainguard3.3.6-r0
ruby3.2-rubygem-bundlerAmazon Linux2.4.19-183.amzn2023.0.1
ruby3.2-rubygem-rdocAmazon Linux6.5.1.1-183.amzn2023.0.1
ruby3.2-rubygemsAmazon Linux3.4.19-183.amzn2023.0.1
ruby3.1-fluentd-kubernetes-daemonset-1.17Chainguard1.17.1.1.2-r2
ruby-3.2Chainguard3.2.5-r2
ruby3.2-rubygem-minitestAmazon Linux5.25.1-183.amzn2023.0.1
ruby3.2-rubygem-power_assertAmazon Linux2.0.3-183.amzn2023.0.1
ruby3.2-rubygem-rbsAmazon Linux2.8.2-183.amzn2023.0.1
ruby-3.3Wolfi3.3.4-r3
ruby3.2-rubygem-rexmlAmazon Linux3.3.9-183.amzn2023.0.1

6 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
rubyrexml< 3.3.6
chainguardruby3.2-rexml0
amazon:2023ruby3.2-rubygem-bundler0
amazon:2023ruby3.2-rubygem-rdoc0
amazon:2023ruby3.2-rubygems0
chainguardruby3.1-fluentd-kubernetes-daemonset-1.170
chainguardruby-3.20
amazon:2023ruby3.2-rubygem-minitest0
amazon:2023ruby3.2-rubygem-power_assert0
ruby-langrexml
amazon:2023ruby3.2-rubygem-rbs0
wolfiruby-3.30
amazon:2023ruby3.2-rubygem-rexml0
amazon:2023ruby3.2-rubygem-rss0
amazon:2023ruby3.20
chainguardruby3.4-fluentd-kubernetes-daemonset-1.160
chainguardruby-3.10
chainguardlogstash0
wolfiruby3.1-fluentd-kubernetes-daemonset-1.170
RubyGemsrexml0

…and 33 more

Timeline

  • Aug 22, 2024 CVE Published
  • Aug 23, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (15 in total, the first dated here)
  • Feb 20, 2025 PoC Published (2 in total, the first dated here)
  • Jan 6, 2026 Security Advisory (15 in total, the first dated here)
  • Oct 11, 2026 Distribution Patch (9 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-43398
vulnetix vdb fixes CVE-2024-43398

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-43398/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›