CVE Vulnerabilities

CVE-2024-41123

Uncontrolled Resource Consumption

Published: Aug 01, 2024 | Modified: Nov 03, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

REXML is an XML toolkit for Ruby. The REXML gem before 3.3.2 has some DoS vulnerabilities when it parses an XML that has many specific characters such as whitespace character, >] and ]>. The REXML gem 3.3.3 or later include the patches to fix these vulnerabilities.

Weakness

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

Affected Software

NameVendorStart VersionEnd Version
RexmlRuby-lang*3.2.7 (excluding)
RexmlRuby-lang3.2.8 (including)3.3.2 (excluding)
Red Hat Enterprise Linux 8RedHatruby:3.3-8100020240906074654.489197e6*
Red Hat Enterprise Linux 8RedHatruby:3.1-8100020250407112943.489197e6*
Red Hat Enterprise Linux 8RedHatpcs-0:0.10.18-2.el8_10.2*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatpcs-0:0.10.12-6.el8_6.6*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHatpcs-0:0.10.12-6.el8_6.6*
Red Hat Enterprise Linux 8.8 Extended Update SupportRedHatpcs-0:0.10.15-4.el8_8.3*
Red Hat Enterprise Linux 9RedHatruby:3.3-9040020240906110954.9*
Red Hat Enterprise Linux 9RedHatruby:3.1-9050020250404144903.9*
JrubyUbuntufocal*
JrubyUbuntuoracular*
JrubyUbuntuplucky*
JrubyUbuntutrusty/esm*
Ruby2.3Ubuntuesm-infra/xenial*
Ruby2.5Ubuntuesm-infra/bionic*
Ruby2.7Ubuntuesm-infra/focal*
Ruby2.7Ubuntufocal*
Ruby3.0Ubuntujammy*
Ruby3.2Ubuntunoble*
Ruby3.3Ubuntuoracular*

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