CVE-2021-41819Ruby-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
- 3.2% probabilidad de explotación en 30 días · percentil 89
- Requiere autenticación
- No
- Publicada
- 1 ene 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-565
- 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:H/A:N
Qué pasa
CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby.
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.0 < 0.3.1 |
0.3.1 |
gem "cgi", ">= 0.3.1" |
| RubyGems | cgi |
≥ 0.2.0 < 0.2.1 |
0.2.1 |
gem "cgi", ">= 0.2.1" |
| RubyGems | cgi |
< 0.1.0.1 |
0.1.0.1 |
gem "cgi", ">= 0.1.0.1" |
Según OSV / GitHub Advisories (GHSA-4vf4-qmvg-mh7h). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| ruby-lang | cgi | 0.1.0 |
| ruby-lang | cgi | 0.2.0 |
| ruby-lang | cgi | 0.3.0 |
| ruby-lang | ruby | ≤ 2.6.8 |
| ruby-lang | ruby | ≥ 2.7.0 < 2.7.5 |
| ruby-lang | ruby | ≥ 3.0.0 < 3.0.3 |
| redhat | software_collections | todas |
| redhat | enterprise_linux | 8.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| suse | linux_enterprise | 11.0 |
| suse | linux_enterprise | 12.0 |
| suse | linux_enterprise | 15.0 |
| opensuse | factory | todas |
| opensuse | leap | 15.2 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
Boletines oficiales
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:8838 · 21 abr 2026 Crítica
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7305 · 21 abr 2026 Crítica
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7307 · 21 abr 2026 Crítica
- libruby4_0-4_0-4.0.0~preview2-1.1 on GA media · SUSE · openSUSE-SU-2025:15819-1 · 12 dic 2025 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.
- hackerone.com Permissions Required Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org
- security.netapp.com Third Party Advisory
- www.ruby-lang.org Exploit Vendor Advisory