Skip to main content
Public proof of conceptFix available

CVE-2024-25126

A public proof of concept exists; no exploitation attested.

  • Published2024-02-29
  • Fixed in3.0.9.1 · 2.2.8.1
  • WeaknessCWE-1333

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2024-02-2900:15CVE publishedNVD

Versions per branch

NVD · OSV · CISA-ADP
Rack
BranchAffectedFixed in
3.0≥ 3.0.0, < 3.0.9.13.0.9.1
2.2≥ 0.4, < 2.2.8.12.2.8.1
Rack project rack
BranchAffectedFixed in
3.0≥ 3.0.0, < 3.0.9.13.0.9.1
2.2≥ 0.4, < 2.2.8.12.2.8.1
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • rack
    Affected
    • = >= 3.0.0, < 3.0.9.1no fix stated
    • = >= 0.4, < 2.2.8.1no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-06-10

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • kube-fluentd-operatorWolfiall versions · fixed in 1.18.2-r3and 3 other packages
  • kube-fluentd-operatorChainguardall versions · fixed in 1.18.2-r3and 3 other packages
  • pcsTuxCare:CentOS:8.5all versions · fixed in 0.10.8-1.el8.tuxcare.els1and 1 other package
  • pcsTuxCare:CentOS:8.4all versions · fixed in 0.10.8-1.el8.tuxcare.els1and 1 other package
  • pcsRocky Linux:8all versions · fixed in 0:0.10.18-2.el8_10
  • pcsRed Hat:rhel_tus:8.4::highavailabilityall versions · fixed in 0:0.10.8-1.el8_4.5and 1 other package
  • pcsRed Hat:rhel_tus:8.2::highavailabilityall versions · fixed in 0:0.10.4-6.el8_2.5and 1 other package
  • pcsRed Hat:rhel_eus:9.2::resilientstorageall versions · fixed in 0:0.11.4-7.el9_2.1and 1 other package

56 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-25126 Red Hat Product Security117 products fixed · 7 known affected

    rubygem-rack: Denial of Service Vulnerability in Rack Content-Type Parsing

    3scale-amp2/backend-rhel8 as a component of Red Hat 3scale API Management Platform 2 · 3scale-amp2/system-rhel7 as a component of Red Hat 3scale API Management Platform 2 · 3scale-amp2/zync-rhel8 as a component of Red Hat 3scale API Management Platform 2 · +4 more

  • RHSA-2024:10806 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Satellite 6.15.5 Async Update

  • RHSA-2024:3431 Red Hat Product Security16 products fixed

    Red Hat Security Advisory: pcs security update

  • RHSA-2024:2953 Red Hat Product Security16 products fixed

    Red Hat Security Advisory: pcs security update

  • RHSA-2024:2584 Red Hat Product Security11 products fixed

    Red Hat Security Advisory: pcs security update

  • RHSA-2024:2581 Red Hat Product Security16 products fixed

    Red Hat Security Advisory: pcs security update

4 more advisories

Full record on NVD

Fix

  1. Update Rack to 3.0.9.1 · 2.2.8.1
  2. Vendor fix Red Hat Product Security RHSA-2024:10806 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.15/html/updating_red_hat_satellite/index
  3. Vendor fix Red Hat Product Security RHSA-2024:3431 · 16 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2024:2953 · 16 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  5. Workaround from the vendor Red Hat Product Security RHSA-2024:10806 · 93 productsNo mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-08-12
  • CNACVSS 3.15.3known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • CNAweakness (CWE)CWE-1333known since 2026-10-23
  • NVDweakness (CWE)CWE-1333read 2026-10-23
  • FIRST EPSSEPSS score35.4 %read 2026-11-10
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2024-02-28

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2024-02-29
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-22f2-v57c-j9cx

Frequently asked questions

What is CVE-2024-25126?

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.

Is CVE-2024-25126 actively exploited?

A proof-of-concept exploit exists for CVE-2024-25126, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-25126?

CVE-2024-25126 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running rack? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record