{"id":"CVE-2024-26146","published":"2024-02-28T23:28:01Z","modified":"2025-02-13T17:41:07Z","title":"Possible Denial of Service Vulnerability in Rack Header Parsing","vendor":"rack","product":"rack","tier":"tail","description":{"text":"Rack is a modular Ruby web server interface. Carefully crafted headers can cause header parsing in Rack to take longer than expected resulting in a possible denial of service issue. Accept and Forwarded headers are impacted. Ruby 3.2 has mitigations for this problem, so Rack applications using Ruby 3.2 or newer are unaffected. This vulnerability is fixed in 2.0.9.4, 2.1.4.4, 2.2.8.1, and 3.0.9.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01996,"percentile":0.80717,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rack/rack/commit/30b8e39a578b25d4bdcc082c1c52c6f164b59716","tags":["x_refsource_MISC"]},{"url":"https://github.com/rack/rack/commit/6c5d90bdcec0949f7ba06db62fb740dab394b582","tags":["x_refsource_MISC"]},{"url":"https://github.com/rack/rack/commit/a227cd793778c7c3a827d32808058571569cda6f","tags":["x_refsource_MISC"]},{"url":"https://github.com/rack/rack/commit/e4c117749ba24a66f8ec5a08eddf68deeb425ccd","tags":["x_refsource_MISC"]},{"url":"https://discuss.rubyonrails.org/t/possible-denial-of-service-vulnerability-in-rack-header-parsing/84942","tags":["x_refsource_MISC"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-26146.yml","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0006/","tags":[]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":16.14},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"rack","affectedVersions":[{"vendor":"rack","product":"rack","versions":[">= 3.0.0, < 3.0.9.1",">= 2.2.0, < 2.2.8.1",">= 2.1.0, < 2.1.4.4","< 2.0.9.4"]}],"affected":[{"ecosystem":"RubyGems","package":"rack","vulnerableRanges":[">=3.0.0, <3.0.9.1",">=2.2.0, <2.2.8.1",">=2.1.0, <2.1.4.4","<2.0.9.4"],"patched":["3.0.9.1","2.2.8.1","2.1.4.4","2.0.9.4"],"from":["GHSA-54rr-7fvw-6x8f"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0516","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-rack-cve-2024-26146","children":[{"from":"CVE-2024-26146","to":"CVE-2024-39316","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The fix for CVE-2024-26146 was not applied to the main branch and thus while the issue was fixed for the Rack v3.0 release series, it was not fixed in the v3.1 release series until v3.1.5.","from":"CVE.org","in":"CVE-2024-39316"},{"kind":"osv-related","provenance":"source","id":"GHSA-54rr-7fvw-6x8f","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-cj83-2ww7-mvq7","via":"reference","url":"https://github.com/rack/rack/security/advisories/GHSA-54rr-7fvw-6x8f"}]}],"packageHistory":[{"cve":"CVE-2023-27530","published":"2023-03-10","fixed":"3.0.4.2","kev":false,"link":{"from":"CVE-2023-27530","to":"CVE-2024-26146","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:rack","fromFixed":"2.1.4.3","toFixed":"2.1.4.4","daysApart":355}]}},{"cve":"CVE-2023-27539","published":"2025-01-09","fixed":"3.0.6.1","kev":false},{"cve":"CVE-2024-25126","published":"2024-02-28","fixed":"3.0.9.1","kev":false},{"cve":"CVE-2024-26141","published":"2024-02-28","fixed":"3.0.9.1","kev":false},{"cve":"CVE-2024-26146","published":"2024-02-28","fixed":"3.0.9.1","kev":false},{"cve":"CVE-2024-39316","published":"2024-07-02","fixed":"3.1.5","kev":false},{"cve":"CVE-2025-25184","published":"2025-02-12","fixed":"3.1.10","kev":false,"link":{"from":"CVE-2024-26146","to":"CVE-2025-25184","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:rack","fromFixed":"2.2.8.1","toFixed":"2.2.11","daysApart":350},{"kind":"version-step","provenance":"source","package":"RubyGems:rack","fromFixed":"3.0.9.1","toFixed":"3.0.12","daysApart":350}]}},{"cve":"CVE-2025-27111","published":"2025-03-04","fixed":"3.1.11","kev":false}],"package":"RubyGems:rack"}}