Vulnerability
CVE-2024-35176
REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.
63 advisories report this vulnerability, across 14 ecosystems.
Advisories
-
ALAS2023-2025-921
Amazon Linux 2023 - ALAS2023-2025-921: Medium priority package update for ruby3.2
-
ALSA-2024:4499
Moderate: ruby security update
-
ALSA-2024:5338
Low: pcs security update
-
AZL-42052
CVE-2024-35176 affecting package ruby for versions less than 3.3.3-1
-
AZL-42064
CVE-2024-35176 affecting package rubygem-rexml for versions less than 3.2.8-1
-
AZL-42070
CVE-2024-35176 affecting package ruby for versions less than 3.1.4-6
-
AZL-42076
CVE-2024-35176 affecting package rubygem-rexml for versions less than 3.2.7-1
- CGA-26x5-m7q5-pq7m
- CGA-27hw-76mw-r8qf
- CGA-29x6-h772-hc47
- CGA-2wrj-7xqf-cjfr
- CGA-3528-458h-gqvh
- CGA-3c6h-8225-f8pq
- CGA-6232-jwcp-ph3j
- CGA-7fw5-xxwr-qfwh
- CGA-7g7v-jfx8-52j3
- CGA-7rf7-77xg-6xhv
- CGA-8j4v-48vh-26ch
- CGA-8qwg-7xgh-vxp2
- CGA-953f-536c-665f
- CGA-9ch7-2m28-pg74
- CGA-9m5f-64mx-g64g
- CGA-cqh4-5438-gpqp
- CGA-f2x8-76jq-2hqg
- CGA-g2pw-c9cf-p948
- CGA-gc35-8fjf-7jxr
- CGA-gwcv-4fcp-2924
- CGA-jhj7-6r9r-69cc
- CGA-m47q-g47c-xm59
- CGA-m5q9-w4hc-q5g9
- CGA-mpvq-gjmh-488j
- CGA-p734-c7m8-22g6
- CGA-p7p4-jwc8-mv5r
- CGA-px5h-pchm-cfp3
- CGA-q7qh-3qx5-37v9
- CGA-q84p-jg52-pw64
- CGA-qh6j-vh3j-wjh6
- CGA-qmpj-56pq-hvf3
- CGA-r28q-2g86-5cg7
- CGA-vrh8-76fq-hq8c
- CGA-w8q4-ww9f-pvq4
- CGA-wf6h-mj64-4rgm
- CGA-x4hh-73gx-3pr5
-
DEBIAN-CVE-2024-35176
REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted…
-
DLA-4018-1
ruby2.7 - security update
-
ELSA-2024-4499
ELSA-2024-4499: ruby security update (MODERATE)
-
ELSA-2024-5338
ELSA-2024-5338: pcs security update (LOW)
-
GHSA-vg3r-rm7w-2xgh
REXML contains a denial of service vulnerability
-
OESA-2024-1824
ruby security update
-
RHSA-2024:4499
Red Hat Security Advisory: ruby security update
-
RHSA-2024:5338
Red Hat Security Advisory: pcs security update
-
RHVEX-CVE-2024-35176
REXML: DoS parsing an XML with many `<`s in an attribute value
-
RLSA-2024:4499
Moderate: ruby security update
-
RLSA-2024:5338
Low: pcs security update
-
SUSE-SU-2024:3874-1
Security update for ruby2.5
-
SUSEVEX-CVE-2024-35176
REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted…
-
UBUNTU-CVE-2024-35176
REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted…
-
USN-7091-1
ruby3.0, ruby3.2, ruby3.3 vulnerabilities
-
USN-7091-2
ruby2.7 vulnerabilities
-
USN-7418-1
ruby2.7, ruby3.0, ruby3.2, ruby3.3 vulnerabilities
-
USN-7734-1
ruby2.5, ruby2.7, ruby3.0, ruby3.2, ruby3.3 vulnerabilities
-
USN-7840-1
ruby2.3, ruby2.5, ruby2.7 vulnerabilities
-
openSUSE-SU-2025:0129-1
Security update for rubygem-rexml
References
- https://github.com/ruby/rexml/commit/4325835f92f3f142ebd91a3fdba4e1f1ab7f1cfb
- https://github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh
- https://www.ruby-lang.org/en/news/2024/05/16/dos-rexml-cve-2024-35176
- https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html
- https://security.netapp.com/advisory/ntap-20250306-0001/