Vulnerability · Published Feb 28, 2024 · Assigned by GitHub_M

CVE-2024-26141Possible DoS Vulnerability with Range Header in Rack

Medium 5.8

In plain English

A medium-severity uncontrolled resource consumption in rack from rack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.8Medium
Exploit odds (30 days)1.6%top 23.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8pcs0.10.18-2.el8_10ALSA-2024:2953
AlmaLinux:9pcs0.11.7-2.el9_4ALSA-2024:2113
AlmaLinux:8pcs-snmp0.10.18-2.el8_10ALSA-2024:2953
AlmaLinux:9pcs-snmp0.11.7-2.el9_4ALSA-2024:2113
Debian:12ruby-rack2.2.6.4-1+deb12u1DSA-5698-1
Debian:12ruby-rack2.2.6.4-1+deb12u1DEBIAN-CVE-2024-26141
Debian:13ruby-rack2.2.7-1.1DEBIAN-CVE-2024-26141
Debian:14ruby-rack2.2.7-1.1DEBIAN-CVE-2024-26141
Rocky Linux:8pcs0:0.10.18-2.el8_10RLSA-2024:2953
RubyGemsrack2.2.8.1GHSA-xj5v-6v4g-jfw6
RubyGemsrack3.0.9.1GHSA-xj5v-6v4g-jfw6
Ubuntu:22.04:LTSruby-rack2.1.4-5ubuntu1.1UBUNTU-CVE-2024-26141
Ubuntu:22.04:LTSruby-rack2.1.4-5ubuntu1.1USN-7036-1
Ubuntu:24.04:LTSruby-rack2.2.7-1ubuntu0.1USN-6837-1
Ubuntu:24.04:LTSruby-rack2.2.7-1ubuntu0.1UBUNTU-CVE-2024-26141

Affected products (as reported)

VendorProductVersions
rack rack >= 3.0.0, < 3.0.9.1>= 1.3.0, < 2.2.8.1

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L

References