Ruby rack: Carefully crafted content type headers can cause Rack’s media type parser to take much longer than
Affects ruby-rackSource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 2.0.7-2ubuntu0.1+esm5 : patch ruby-rack soon.
Data as of 24 Nov 2026, 19:25 UTC
- Patch
- Available – fixed in 2.0.7-2ubuntu0.1+esm5, 2.1.4-5ubuntu1.1, 2.1.4-5ubuntu1+esm5 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 29 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-25126 (opens in a new tab)
- github.com/rack/rack/releases/tag/v2.2.8.1 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-25126 (opens in a new tab)
- ubuntu.com/security/notices/USN-6837-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6837-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7036-1 (opens in a new tab)