PT-2024-7270 · Ruby+10 · Rexml+10

Mprogrammer

·

Published

2023-06-27

·

Updated

2025-12-10

·

CVE-2024-35176

CVSS v4.0

6.9

Medium

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions: REXML versions prior to 3.2.6 REXML versions prior to 3.3.1 REXML versions prior to 3.3.2 REXML versions prior to 3.3.3
Description: The REXML gem 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 by this vulnerability.
Recommendations: For REXML versions prior to 3.2.6, update to REXML gem 3.2.7 or later. For REXML versions prior to 3.3.1, update to REXML gem 3.3.2 or later. For REXML versions prior to 3.3.2, update to REXML gem 3.3.3 or later. As a temporary workaround, do not parse untrusted XMLs.

Exploit

Fix

DoS

Allocation of Resources Without Limits

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2023_3821
ALSA-2023_7025
ALSA-2024:4499
ALSA-2024:5338
ALSA-2024_10834
ALSA-2024_10850
ALSA-2024_10858
ALSA-2024_10860
ALSA-2024_1431
ALSA-2024_1576
ALSA-2024_3500
ALSA-2024_3546
ALSA-2024_3668
ALSA-2024_3670
ALSA-2024_3671
ALSA-2024_3838
ALSA-2024_4499
ALSA-2024_5338
ALSA-2024_6670
ALSA-2024_6784
ALSA-2024_6785
ALSA-2025_10217
ALSA-2025_16880
ALSA-2025_23062
ALSA-2025_23063
ALSA-2025_4488
AZL-42052
AZL-42064
AZL-42070
AZL-42076
BDU:2024-08622
CESA-2024_4499
CESA-2024_5338
CVE-2024-35176
DLA-4018-1
DLA-4018-2
ECHO-324A-2FCD-2194
ELSA-2024-4499
ELSA-2024-5338
GHSA-4XQQ-M2HX-25V8
GHSA-R55C-59QM-VJW6
GHSA-VG3R-RM7W-2XGH
INFSA-2024_4499
INFSA-2024_5338
MGASA-2025-0001
OESA-2024-1824
OPENSUSE-SU-2025:0129-1
RHSA-2024:4499
RHSA-2024:5338
RHSA-2024_4499
RHSA-2024_5338
RLSA-2024:4499
RLSA-2024_4499
RLSA-2024_5338
SUSE-SU-2024:3874-1
SUSE-SU-2024_3874-1
USN-7091-1
USN-7091-2
USN-7418-1
USN-7734-1
USN-7840-1

Affected Products

Almalinux
Astra Linux
Centos
Debian
Linuxmint
Rexml
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu