CVE Vulnerabilities

CVE-2024-26141

Uncontrolled Resource Consumption

Published: Feb 29, 2024 | Modified: Feb 14, 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

Rack is a modular Ruby web server interface. Carefully crafted Range headers can cause a server to respond with an unexpectedly large response. Responding with such large responses could lead to a denial of service issue. Vulnerable applications will use the Rack::File middleware or the Rack::Utils.byte_ranges methods (this includes Rails applications). The vulnerability is fixed in 3.0.9.1 and 2.2.8.1.

Weakness

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

Affected Software

Name Vendor Start Version End Version
Rack Rack 1.3.0 (including) 2.2.8.1 (excluding)
Rack Rack 3.0.0 (including) 3.0.9.1 (excluding)
Red Hat Enterprise Linux 8 RedHat pcs-0:0.10.18-2.el8_10 *
Red Hat Enterprise Linux 8.2 Telecommunications Update Service RedHat pcs-0:0.10.4-6.el8_2.5 *
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions RedHat pcs-0:0.10.4-6.el8_2.5 *
Red Hat Enterprise Linux 8.4 Telecommunications Update Service RedHat pcs-0:0.10.8-1.el8_4.5 *
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions RedHat pcs-0:0.10.8-1.el8_4.5 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat pcs-0:0.10.12-6.el8_6.5 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat pcs-0:0.10.15-4.el8_8.2 *
Red Hat Enterprise Linux 9 RedHat pcs-0:0.11.7-2.el9_4 *
Red Hat Enterprise Linux 9.0 Extended Update Support RedHat pcs-0:0.11.1-10.el9_0.5 *
Red Hat Enterprise Linux 9.2 Extended Update Support RedHat pcs-0:0.11.4-7.el9_2.1 *
Red Hat Satellite 6.15 for RHEL 8 RedHat rubygem-rack-0:2.2.8.1-1.el8sat *
Red Hat Satellite 6.15 for RHEL 8 RedHat rubygem-rack-0:2.2.8.1-1.el8sat *
Ruby-rack Ubuntu bionic *
Ruby-rack Ubuntu esm-apps/bionic *
Ruby-rack Ubuntu esm-apps/focal *
Ruby-rack Ubuntu esm-apps/jammy *
Ruby-rack Ubuntu esm-apps/xenial *
Ruby-rack Ubuntu esm-infra-legacy/trusty *
Ruby-rack Ubuntu focal *
Ruby-rack Ubuntu jammy *
Ruby-rack Ubuntu mantic *
Ruby-rack Ubuntu noble *
Ruby-rack Ubuntu trusty *
Ruby-rack Ubuntu trusty/esm *
Ruby-rack Ubuntu upstream *
Ruby-rack Ubuntu xenial *

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