CVE-2025-27219Ruby-lang Cgi
Alta 7.5 Sin autenticación
Seguir: esta CVE · Ruby-lang · Ruby-lang Cgi Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 4 mar 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-770
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · 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
In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library contains a potential Denial of Service (DoS) vulnerability. The method does not impose any limit on the length of the raw cookie value it processes. This oversight can lead to excessive resource consumption when parsing extremely large cookies.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Cgi.
- 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 | cgi |
< 0.3.5.1 |
0.3.5.1 |
gem "cgi", ">= 0.3.5.1" |
| RubyGems | cgi |
≥ 0.3.6 < 0.3.7 |
0.3.7 |
gem "cgi", ">= 0.3.7" |
| RubyGems | cgi |
≥ 0.4.0 < 0.4.2 |
0.4.2 |
gem "cgi", ">= 0.4.2" |
Según OSV / GitHub Advisories (GHSA-gh9q-2xrm-x6qv). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| ruby-lang | cgi | < 0.3.5.1 |
| ruby-lang | cgi | ≥ 0.4.0 < 0.4.2 |
| ruby-lang | cgi | 0.3.6 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Third Party Advisory
- hackerone.com Permissions Required
- lists.debian.org