CVE-2025-61771Rack
Alta 7.5 Sin autenticación
Seguir: esta CVE · Rack · Rack Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 7 oct 2025
- Actualizada
- 19 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-400
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
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` stores non-file form fields (parts without a `filename`) entirely in memory as Ruby `String` objects. A single large text field in a multipart/form-data request (hundreds of megabytes or more) can consume equivalent process memory, potentially leading to out-of-memory (OOM) conditions and denial of service (DoS). Attackers can send large non-file fields to trigger excessive memory usage. Impact scales with request size and concurrency, potentially leading to worker crashes or severe garbage-collection overhead. All Rack applications processing multipart form submissions are affected. Versions 2.2.19, 3.1.17, and 3.2.2 enforce a reasonable size cap for non-file fields (e.g., 2 MiB). Workarounds include restricting maximum request body size at the web-server or proxy layer (e.g., Nginx `client_max_body_size`) and validating and rejecting unusually large form fields at the application level.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Rack.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| RubyGems | rack |
< 2.2.19 |
2.2.19 |
gem "rack", ">= 2.2.19" |
| RubyGems | rack |
≥ 3.1 < 3.1.17 |
3.1.17 |
gem "rack", ">= 3.1.17" |
| RubyGems | rack |
≥ 3.2 < 3.2.2 |
3.2.2 |
gem "rack", ">= 3.2.2" |
Según OSV / GitHub Advisories (GHSA-w9pc-fmgc-vxvw). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| rack | rack | < 2.2.19 |
| rack | rack | ≥ 3.1.0 < 3.1.17 |
| rack | rack | ≥ 3.2.0 < 3.2.2 |
Boletines oficiales
- ruby4.0-rubygem-rack-2.2-2.2.22-1.1 on GA media · SUSE · openSUSE-SU-2026:10286-1 · 4 mar 2026 Crítica
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Vendor Advisory