CVE-2025-61772
Full vulnerability record from the local CVENow database.
Description
Rack is a modular Ruby web server interface. In versions prior to 2.2.19, 3.1.17, and 3.2.2, `Rack::Multipart::Parser` can accumulate unbounded data when a multipart part’s header block never terminates with the required blank line (`CRLFCRLF`). The parser keeps appending incoming bytes to memory without a size cap, allowing a remote attacker to exhaust memory and cause a denial of service (DoS). Attackers can send incomplete multipart headers to trigger high memory use, leading to process termination (OOM) or severe slowdown. The effect scales with request size limits and concurrency. All applications handling multipart uploads may be affected. Versions 2.2.19, 3.1.17, and 3.2.2 cap per-part header size (e.g., 64 KiB). As a workaround, restrict maximum request sizes at the proxy or web server layer (e.g., Nginx `client_max_body_size`).
View original CVE JSON
{
"id": "CVE-2025-61772",
"sourceIdentifier": "[email protected]",
"published": "2025-10-07T15:16:03.280",
"lastModified": "2026-10-19T16:10:00.260",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Rack is a modular Ruby web server interface. In versions prior to 2.2.19, 3.1.17, and 3.2.2, `Rack::Multipart::Parser` can accumulate unbounded data when a multipart part’s header block never terminates with the required blank line (`CRLFCRLF`). The parser keeps appending incoming bytes to memory without a size cap, allowing a remote attacker to exhaust memory and cause a denial of service (DoS). Attackers can send incomplete multipart headers to trigger high memory use, leading to process termination (OOM) or severe slowdown. The effect scales with request size limits and concurrency. All applications handling multipart uploads may be affected. Versions 2.2.19, 3.1.17, and 3.2.2 cap per-part header size (e.g., 64 KiB). As a workaround, restrict maximum request sizes at the proxy or web server layer (e.g., Nginx `client_max_body_size`)."
},
{
"lang": "es",
"value": "Rack es una interfaz modular de servidor web Ruby. En versiones anteriores a la 2.2.19, 3.1.17 y 3.2.2, Rack::Multipart::Parser puede acumular datos ilimitados cuando el bloque de encabezado de una parte multipart no termina nunca con la línea en blanco requerida (CRLFCRLF). El analizador sigue añadiendo bytes entrantes a la memoria sin un límite de tamaño, permitiendo a un atacante remoto agotar la memoria y causar una denegación de servicio (DoS). Los atacantes pueden enviar encabezados multipart incompletos para desencadenar un alto uso de memoria, lo que lleva a la terminación del proceso (OOM) o a una ralentización severa. El efecto escala con los límites de tamaño de las solicitudes y la concurrencia. Todas las aplicaciones que manejan cargas multipart pueden verse afectadas. Las versiones 2.2.19, 3.1.17 y 3.2.2 limitan el tamaño del encabezado por parte (p. ej., 64 KiB). Como solución alternativa, restrinja los tamaños máximos de solicitud en la capa del proxy o del servidor web (p. ej., Nginx client_max_body_size)."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "rack",
"product": "rack",
"versions": [
{
"version": "< 2.2.19",
"status": "affected"
},
{
"version": ">= 3.1, < 3.1.17",
"status": "affected"
},
{
"version": ">= 3.2, < 3.2.2",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-10-07T17:51:19.811672Z",
"id": "CVE-2025-61772",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-400"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*",
"versionEndExcluding": "2.2.19",
"matchCriteriaId": "EBB6060B-A06F-4A88-8457-AD850E63E562"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*",
"versionStartIncluding": "3.1.0",
"versionEndExcluding": "3.1.17",
"matchCriteriaId": "850EC79C-0F31-441F-9001-B7CA0CD7758F"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*",
"versionStartIncluding": "3.2.0",
"versionEndExcluding": "3.2.2",
"matchCriteriaId": "9A009CC5-8010-446E-A12B-BF5314CA5BEB"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/rack/rack/commit/589127f4ac8b5cf11cf88fb0cd116ffed4d2181e",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/rack/rack/commit/d869fed663b113b95a74ad53e1b5cae6ab31f29e",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/rack/rack/commit/e08f78c656c9394d6737c022bde087e0f33336fd",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/rack/rack/security/advisories/GHSA-wpv5-97wm-hp9c",
"source": "[email protected]",
"tags": [
"Mitigation",
"Vendor Advisory"
]
}
]
}