CVE Vulnerabilities

CVE-2024-26141

Uncontrolled Resource Consumption

Published: Feb 29, 2024 | Modified: Jun 10, 2024
CVSS 3.x
N/A
Source:
NVD
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, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

Affected Software

Name Vendor Start Version End Version
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 *
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 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 *

Extended Description

Limited resources include memory, file system storage, database connection pool entries, and CPU. If an attacker can trigger the allocation of these limited resources, but the number or size of the resources is not controlled, then the attacker could cause a denial of service that consumes all available resources. This would prevent valid users from accessing the product, and it could potentially have an impact on the surrounding environment. For example, a memory exhaustion attack against an application could slow down the application as well as its host operating system. There are at least three distinct scenarios which can commonly lead to resource exhaustion:

Resource exhaustion problems are often result due to an incorrect implementation of the following situations:

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