Possible DoS Vulnerability with Range Header in Rack
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-26141
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 03:02 UTC · Revision 1
Source evidence
Possible DoS Vulnerability with Range Header in Rack
core-osv · Original sourcePublished 28 Feb 2024, 23:28 UTC
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.
osv:CVE-2024-26141
Complete source record
{
"id": "217fc58fc760339abe3e30f03d1aafe00803ebd15236676cb25ecb7b21151e2f",
"url": "https://osv.dev/vulnerability/CVE-2024-26141",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Possible DoS Vulnerability with Range Header in Rack",
"summary": "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.",
"evidence": "osv:CVE-2024-26141",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-26141",
"aliases": [
"CVE-2024-26141",
"GHSA-xj5v-6v4g-jfw6"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rack/rack",
"type": "GIT",
"events": [
{
"introduced": "a50dda57c1426b6b38ed06fa08cab154285c8057"
},
{
"fixed": "e83001100ad9dd24e1744b13669dcb2736a13ebd"
},
{
"introduced": "52901caf09ebcda879512a8605059963a49df55d"
},
{
"fixed": "a4bc5e0f41c750135969ceece8772ab112dc8f17"
},
{
"fixed": "4849132bef471adb21131980df745f4bb84de2d9"
},
{
"fixed": "62457686b26d33a15a254c7768c2076e8e02b48b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "1.3.0"
},
{
"fixed": "2.2.8.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.0.9.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4849132bef471adb21131980df745f4bb84de2d9"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "62457686b26d33a15a254c7768c2076e8e02b48b"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.2.8",
"v3.0.9",
"v3.0.8",
"v3.0.7",
"v2.2.7",
"v3.0.6",
"v3.0.5",
"v2.2.6.2",
"v3.0.4.1",
"v2.2.6.1",
"v2.2.6",
"v3.0.4",
"v3.0.3",
"v2.2.5",
"2.2.4",
"v3.0.2",
"v3.0.1",
"3.0.0",
"2.2.3",
"v2.2.2",
"v2.2.1",
"2.2.0",
"2.1.0",
"2.0.1",
"2.0.0",
"2.0.0.rc1",
"2.0.0.alpha",
"1.6.0.beta",
"1.5.1",
"1.5.0",
"1.4.1",
"1.4.0",
"1.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26141.json"
}
}
],
"modified": "2026-10-28T02:30:33.044513696Z",
"provider": "osv",
"references": [
"https://discuss.rubyonrails.org/t/possible-dos-vulnerability-with-range-header-in-rack/84944",
"https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26141.json",
"https://github.com/rack/rack/security/advisories/GHSA-xj5v-6v4g-jfw6",
"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-26141.yml",
"https://nvd.nist.gov/vuln/detail/CVE-2024-26141",
"https://security.netapp.com/advisory/ntap-20240510-0007/",
"https://github.com/rack/rack/commit/4849132bef471adb21131980df745f4bb84de2d9",
"https://github.com/rack/rack/commit/62457686b26d33a15a254c7768c2076e8e02b48b"
],
"provider_metadata": {
"cwe_ids": [
"CWE-400"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26141.json"
}
},
"related_cves": [
{
"value": "CVE-2024-26141",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499856,
"published_at": "2024-02-28T23:28:10.503+00:00"
}