CVE-2024-25126
HIGH 7.5CVSS 3.1Rack vulnerable to ReDoS in content type parsing (2nd degree polynomial)
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.
- Published
- 29 Feb 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1333
- Also known as
- GHSA-22f2-v57c-j9cx
- Sources
- NVDJSONOSV GHSA-22f2-v57c-j9cxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rack | rackcpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* |
>= 0.4, < 2.2.8.1 | 2.2.8.1 |
| NVD | rack | rackcpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* |
>= 3.0.0, < 3.0.9.1 | 3.0.9.1 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | RubyGems | rack | >= 3.0.0, < 3.0.9.1 | 3.0.9.1 |
| OSV | RubyGems | rack | >= 0.4, < 2.2.8.1 | 2.2.8.1 |
References
- https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941 · Exploit, Vendor Advisory, WEB
- https://github.com/rack/rack/commit/6efb2ceea003c4b195815a614e00438cbd543462 · Patch, WEB
- https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49 · Patch, WEB
- https://github.com/rack/rack/security/advisories/GHSA-22f2-v57c-j9cx · Exploit, Vendor Advisory, WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-25126.yml · Exploit, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html · Mailing List, WEB
- https://security.netapp.com/advisory/ntap-20240510-0005/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-25126 · ADVISORY
- https://github.com/rack/rack · PACKAGE
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 29 Feb 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Feb 2024)