CVE Vulnerabilities

CVE-2024-35176

Uncontrolled Resource Consumption

Published: May 16, 2024 | Modified: Mar 07, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
5.3 LOW
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

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, dont parse untrusted XMLs.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

Name Vendor Start Version End Version
Red Hat Enterprise Linux 8 RedHat ruby:2.5-8100020240627152904.489197e6 *
Red Hat Enterprise Linux 8 RedHat pcs-0:0.10.18-2.el8_10.1 *
Jruby Ubuntu focal *
Jruby Ubuntu oracular *
Jruby Ubuntu trusty/esm *
Ruby2.3 Ubuntu esm-infra/xenial *
Ruby2.5 Ubuntu esm-infra/bionic *
Ruby2.7 Ubuntu esm-infra/focal *
Ruby2.7 Ubuntu focal *
Ruby3.0 Ubuntu jammy *
Ruby3.2 Ubuntu noble *

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References