{"id":"CVE-2024-26141","published":"2024-02-28T23:28:10Z","modified":"2025-02-13T17:41:04Z","title":"Possible DoS Vulnerability with Range Header in Rack","vendor":"rack","product":"rack","tier":"tail","description":{"text":"Rack is a modular Ruby web server interface. Carefully crafted Range headers can cause a server to respond with an unexpectedly large response. Responding with such large responses could lead to a denial of service issue. Vulnerable applications will use the `Rack::File` middleware or the `Rack::Utils.byte_ranges` methods (this includes Rails applications). The vulnerability is fixed in 3.0.9.1 and 2.2.8.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02166,"percentile":0.82919,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/rack/rack/security/advisories/GHSA-xj5v-6v4g-jfw6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rack/rack/commit/4849132bef471adb21131980df745f4bb84de2d9","tags":["x_refsource_MISC"]},{"url":"https://github.com/rack/rack/commit/62457686b26d33a15a254c7768c2076e8e02b48b","tags":["x_refsource_MISC"]},{"url":"https://discuss.rubyonrails.org/t/possible-dos-vulnerability-with-range-header-in-rack/84944","tags":["x_refsource_MISC"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-26141.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-0007/","tags":[]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":16.58},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"rack","affectedVersions":[{"vendor":"rack","product":"rack","versions":[">= 3.0.0, < 3.0.9.1",">= 1.3.0, < 2.2.8.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-03-05T18:23:59.367185Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"rack","vulnerableRanges":[">=3.0.0, <3.0.9.1",">=1.3.0, <2.2.8.1"],"patched":["3.0.9.1","2.2.8.1"],"from":["GHSA-xj5v-6v4g-jfw6"],"provenance":"source"}],"summary":{"text":"The flaw is in Rack, the modular Ruby web server interface, where the byte-range handling in the Rack::File middleware and the Rack::Utils.byte_ranges methods does not adequately limit resource consumption when processing Range headers. An attacker who can send HTTP requests to a vulnerable application, which requires no authentication or user interaction, can craft Range headers that make the server return an unexpectedly large response and potentially cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:35Z"},"euvd":{"id":"EUVD-2024-0768","exploited":false,"provenance":"source"}}