CVE-2021-41817Ruby-lang Date
Alta 7.5 Sin autenticación
Seguir: esta CVE · Ruby-lang · Ruby-lang Date Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.5% probabilidad de explotación en 30 días · percentil 90
- Requiere autenticación
- No
- Publicada
- 1 ene 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-1333
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
Date.parse in the date gem through 3.2.0 for Ruby allows ReDoS (regular expression Denial of Service) via a long string. The fixed versions are 3.2.1, 3.1.2, 3.0.2, and 2.0.1.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Date.
- 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 | date |
≥ 3.2.0 < 3.2.1 |
3.2.1 |
gem "date", ">= 3.2.1" |
| RubyGems | date |
≥ 3.1.0 < 3.1.2 |
3.1.2 |
gem "date", ">= 3.1.2" |
| RubyGems | date |
≥ 3.0.0 < 3.0.2 |
3.0.2 |
gem "date", ">= 3.0.2" |
| RubyGems | date |
< 2.0.1 |
2.0.1 |
gem "date", ">= 2.0.1" |
Según OSV / GitHub Advisories (GHSA-qg54-694p-wgpp). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| ruby-lang | date | < 2.0.1 |
| ruby-lang | date | ≥ 3.0.0 < 3.0.2 |
| ruby-lang | date | ≥ 3.1.0 < 3.1.2 |
| ruby-lang | date | 3.2.0 |
| ruby-lang | ruby | ≥ 2.6.0 < 2.6.9 |
| 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 | 7.0 |
| redhat | enterprise_linux | 8.0 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| suse | linux_enterprise | 12.0 |
| suse | linux_enterprise | 15.0 |
| opensuse | factory | todas |
| opensuse | leap | 15.2 |
Boletines oficiales
- 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
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org
- www.ruby-lang.org Exploit Vendor Advisory