CVEfocus › CVE database › CVE-2024-26141

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

CVSS 5.8 MediumEPSS 2.2% (higher than 83% of CVEs)Published 2024-02-28Updated 2025-02-13Assigner: GitHub_M

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.

CWE-400

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, RubyGems, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
5Fix pending
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04ruby-rackFixed2.2.7-1ubuntu0.1UBUNTU-CVE-2024-26141
Ubuntu 22.04ruby-rackFix pending2.1.4-5ubuntu1.1 (Ubuntu Pro)UBUNTU-CVE-2024-26141
Ubuntu 20.04ruby-rackFix pending2.0.7-2ubuntu0.1+esm5 (Ubuntu Pro)UBUNTU-CVE-2024-26141
Ubuntu 18.04ruby-rackFix pending1.6.4-4ubuntu0.2+esm6 (Ubuntu Pro)UBUNTU-CVE-2024-26141
Ubuntu 16.04ruby-rackFix pending1.6.4-3ubuntu0.2+esm6 (Ubuntu Pro)UBUNTU-CVE-2024-26141
Ubuntu 14.04ruby-rackFix pending1.5.2-3+deb8u3ubuntu1~esm8 (Ubuntu Pro)UBUNTU-CVE-2024-26141
Debian 14ruby-rackFixed2.2.7-1.1DEBIAN-CVE-2024-26141
Debian 13ruby-rackFixed2.2.7-1.1DEBIAN-CVE-2024-26141
Debian 12ruby-rackFixed2.2.6.4-1+deb12u1DEBIAN-CVE-2024-26141
Red Hat Enterprise Linux 9pcsFixed0:0.11.7-2.el9_4RHSA-2024:2113
Red Hat Enterprise Linux 9pcs-snmpFixed0:0.11.7-2.el9_4RHSA-2024:2113
Red Hat Enterprise Linux 8pcsFixed0:0.10.18-2.el8_10RHSA-2024:2953
Red Hat Enterprise Linux 8pcs-snmpFixed0:0.10.18-2.el8_10RHSA-2024:2953
Red Hat Enterprise Linux 7pcsWill not fix
Out of support scope
Red Hat Enterprise Linux 7pcs-snmpWill not fix
Out of support scope
Red Hat Enterprise Linux 7python-clufterWill not fix
Out of support scope
AlmaLinux 9pcsFixed0.11.7-2.el9_4ALSA-2024:2113
AlmaLinux 9pcs-snmpFixed0.11.7-2.el9_4ALSA-2024:2113
AlmaLinux 8pcsFixed0.10.18-2.el8_10ALSA-2024:2953
AlmaLinux 8pcs-snmpFixed0.10.18-2.el8_10ALSA-2024:2953
Rocky Linux 8pcsFixed0:0.10.18-2.el8_10RLSA-2024:2953
RubyGems libraryrackFixed2.2.8.1GHSA-xj5v-6v4g-jfw6

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.