CVE-2024-43398

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-43398
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43398.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-43398
Aliases
Downstream
Related
Published
2024-08-22T15:15:16Z
Modified
2025-10-10T04:55:49.147688Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/ruby/rexml

Affected ranges

Type
GIT
Repo
https://github.com/ruby/rexml
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v3.*

v3.1.8
v3.1.9
v3.2.0
v3.2.1
v3.2.2
v3.2.3
v3.2.4
v3.2.5
v3.2.6
v3.2.7
v3.2.8
v3.2.9
v3.3.0
v3.3.1
v3.3.2
v3.3.3
v3.3.4
v3.3.5