CVE-2024-25126 json
Rack ReDos in content type parsing (2nd degree polynomial)
published 2024-02-28 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0462 , GHSA-22f2-v57c-j9cx
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 35.4%
- EPSS 35.4% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems rack 2.2.8.1, 3.0.9.1
- rack_project rack 2.2.8.1, 3.0.9.1
- ruby-rack Debian 12 2.2.6.4-1+deb12u1
- ruby-rack Debian 14, Debian 13 2.2.7-1.1
debian advisories DEBIAN-CVE-2024-25126
- ruby-rack Ubuntu 22.04 LTS 2.1.4-5ubuntu1.1
- ruby-rack Ubuntu 24.04 LTS 2.2.7-1ubuntu0.1
- ruby-rack Ubuntu Pro 20.04 LTS 2.0.7-2ubuntu0.1+esm5
- ruby-rack Ubuntu Pro 22.04 LTS 2.1.4-5ubuntu1+esm5
ubuntu advisories UBUNTU-CVE-2024-25126
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rubygem-rack satellite capsule 6.15, satellite 6.15 2.2.8.1-1.el8sat
- python-pulp-container satellite capsule 6.15, satellite 6.15 2.16.9-2.el8pc
- rubygem-activestorage satellite 6.15 6.1.7.7-1.el8sat
- python3.11-pulp-container satellite capsule 6.15, satellite 6.15 2.16.9-2.el8pc
- pcs RHEL 9 0.11.7-2.el9_4
- pcs-snmp RHEL 9 0.11.7-2.el9_4
- pcs RHEL 8 0.10.18-2.el8_10
- pcs-snmp RHEL 8 0.10.18-2.el8_10
red hat advisories RHSA-2024:10806RHSA-2024:3431RHSA-2024:2113RHSA-2024:2953RHSA-2024:2007RHSA-2024:1846
- rubygem-rack OpenStack Cloud Crowbar 9, OpenStack Cloud Crowbar 8 1.6.13-3.22.1
- rubygem-rack-1_4 SLE Module for Containers 12 1.4.5-9.3.1
- rubygem-rack SLE High Availability Extension 15 SP5, SLE High Availability Extension 15 SP4, SLE High Availability Extension 15 SP3 +2 more 2.0.8-150000.3.21.2
suse advisories SUSE-SU-2024:1131-1SUSE-SU-2024:0946-1SUSE-SU-2024:0765-1
- rubygem-rack openSUSE Tumbleweed 3.1.18-1.3
- rubygem-rack-2.2 openSUSE Tumbleweed 2.2.22-1.1
- rubygem-rack openSUSE Tumbleweed 3.1.12-1.1
- rubygem-rack-2.2 openSUSE Tumbleweed 2.2.11-1.1
- rubygem-rack openSUSE Tumbleweed 3.0.9.1-1.1
- rubygem-rack-2.2 openSUSE Tumbleweed 2.2.8.1-1.1
opensuse advisories openSUSE-SU-2026:10358-1openSUSE-SU-2026:10286-1openSUSE-SU-2025:14875-1openSUSE-SU-2025:14811-1openSUSE-SU-2024:13726-1openSUSE-SU-2024:13727-1
- pcs AlmaLinux 8 0.10.18-2.el8_10
- pcs-snmp AlmaLinux 8 0.10.18-2.el8_10
- pcs AlmaLinux 9 0.11.7-2.el9_4
- pcs-snmp AlmaLinux 9 0.11.7-2.el9_4
almalinux advisories ALSA-2024:2953ALSA-2024:2113
- pcs Rocky Linux 8 0.10.18-2.el8_10
rocky linux advisories RLSA-2024:2953
- github.com/rack/rack@6efb2ce commit
- github.com/rack/rack@d9c163a commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-25126 updated cvss 5.3
rubygem-rack: Denial of Service Vulnerability in Rack Content-Type Parsing
-
Red Hat 3scale API Management Platform 2 3scale-amp2/zync-rhel8, 3scale-amp2/system-rhel7, 3scale-amp2/backend-rhel8affected: workaround, no fix available, no fix planned “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.”
-
Red Hat Enterprise Linux 7 pcs, pcs-snmp, python-clufteraffected: workaround, no fix planned “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.”
-
Red Hat Enterprise Linux High Availability AUS (v.8.4) pcs 0.10.8-1.el8_4.5, pcs-snmp 0.10.8-1.el8_4.5fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:2584
-
Red Hat Enterprise Linux High Availability E4S (v. 8.2) pcs 0.10.4-6.el8_2.5, pcs-snmp 0.10.4-6.el8_2.5fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:2007
-
Red Hat Enterprise Linux High Availability EUS (v.8.6) pcs 0.10.12-6.el8_6.5, pcs-snmp 0.10.12-6.el8_6.5fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:3431
-
Red Hat Enterprise Linux High Availability EUS (v.8.8) pcs 0.10.15-4.el8_8.2, pcs-snmp 0.10.15-4.el8_8.2fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:2581
-
Red Hat Enterprise Linux High Availability EUS (v.9.0) pcs 0.11.1-10.el9_0.5, pcs-snmp 0.11.1-10.el9_0.5fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:1841
-
Red Hat Enterprise Linux High Availability EUS (v.9.2) pcs 0.11.4-7.el9_2.1, pcs-snmp 0.11.4-7.el9_2.1fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:1846
show 12 moreshow fewer
-
Red Hat Enterprise Linux High Availability TUS (v. 8.2) pcs 0.10.4-6.el8_2.5, pcs-snmp 0.10.4-6.el8_2.5fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:2007
-
Red Hat Enterprise Linux HighAvailability (v. 8) pcs 0.10.18-2.el8_10, pcs-snmp 0.10.18-2.el8_10fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:2953
-
Red Hat Enterprise Linux HighAvailability (v. 9) pcs 0.11.7-2.el9_4, pcs-snmp 0.11.7-2.el9_4fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:2113
-
Red Hat Enterprise Linux HighAvailability E4S (v.8.4) pcs 0.10.8-1.el8_4.5, pcs-snmp 0.10.8-1.el8_4.5 Red Hat Enterprise Linux HighAvailability TUS (v.8.4) pcs 0.10.8-1.el8_4.5, pcs-snmp 0.10.8-1.el8_4.5fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:2584
-
Red Hat Enterprise Linux Resilient Storage EUS (v.8.6) pcs 0.10.12-6.el8_6.5, pcs-snmp 0.10.12-6.el8_6.5fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:3431
-
Red Hat Enterprise Linux Resilient Storage EUS (v.8.8) pcs 0.10.15-4.el8_8.2, pcs-snmp 0.10.15-4.el8_8.2fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:2581
-
Red Hat Enterprise Linux Resilient Storage EUS (v.9.0) pcs 0.11.1-10.el9_0.5, pcs-snmp 0.11.1-10.el9_0.5fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:1841
-
Red Hat Enterprise Linux Resilient Storage EUS (v.9.2) pcs 0.11.4-7.el9_2.1, pcs-snmp 0.11.4-7.el9_2.1fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:1846
-
Red Hat Enterprise Linux ResilientStorage (v. 8) pcs 0.10.18-2.el8_10, pcs-snmp 0.10.18-2.el8_10fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:2953
-
Red Hat Enterprise Linux ResilientStorage (v. 9) pcs 0.11.7-2.el9_4, pcs-snmp 0.11.7-2.el9_4fixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:2113
-
Red Hat Satellite 6.15 for RHEL 8 rubygem-rack 2.2.8.1-1.el8satfixed: vendor fix “No mitigation is currently available for this vulnerability. The recommendation is to perform updates as soon as they are available.” RHSA-2024:10806
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/fluentd-rhel8 Red Hat Satellite 6.15 for RHEL 8 foreman 3.9.1.12-1.el8sat, satellite 6.15.5-1.el8sat, puppetserver 7.17.2-1.el8sat, foreman-cli 3.9.1.12-1.el8sat, foreman-ec2 3.9.1.12-1.el8sat, foreman-pcp 3.9.1.12-1.el8sat, +36 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
35.38% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx referenced PoC, tagged "exploit" by a source, unverified
- discuss.rubyonrails.org https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rack | >=3.0.0, <3.0.9.1 >=0.4, <2.2.8.1 |
3.0.9.1 2.2.8.1 |
Affected products
- rack rack
- rack_project rack
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462
web, patch
-
github.com
/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49
web, patch
-
github.com
/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx
web, exploit, vendor-advisory
-
discuss.rubyonrails.org
/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941
web, exploit, vendor-advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml
web, exploit, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2024/04/msg00022.html
web, mailing-list
-
security.netapp.com
/advisory/ntap-20240510-0005/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-25126
advisory
-
github.com
/rack/rack
package
-
security.netapp.com
/advisory/ntap-20240510-0005
web
Sources
- CVE List CVE-2024-25126
- GitHub Advisory GHSA-22f2-v57c-j9cx
- NVD CVE-2024-25126
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.