CVEfocus › CVE database › CVE-2024-25126

CVE-2024-25126Rack ReDos in content type parsing (2nd degree polynomial)

CVSS 5.3 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 content type headers can cause Rack’s media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This vulnerability is patched in 3.0.9.1 and 2.2.8.1.

CWE-1333

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
3Fix 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-25126
Ubuntu 22.04ruby-rackFix pending2.1.4-5ubuntu1.1 (Ubuntu Pro)UBUNTU-CVE-2024-25126
Ubuntu 20.04ruby-rackFix pending2.0.7-2ubuntu0.1+esm5 (Ubuntu Pro)UBUNTU-CVE-2024-25126
Ubuntu 16.04ruby-rackFix pending
Debian 14ruby-rackFixed2.2.7-1.1DEBIAN-CVE-2024-25126
Debian 13ruby-rackFixed2.2.7-1.1DEBIAN-CVE-2024-25126
Debian 12ruby-rackFixed2.2.6.4-1+deb12u1DEBIAN-CVE-2024-25126
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-22f2-v57c-j9cx

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.