CVE-2019-8320Rubygems
Alta 7.4 Sin autenticación
Seguir: esta CVE · Rubygems · Rubygems Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.0
- 7.4
- EPSS
- 4.2% probabilidad de explotación en 30 días · percentil 92
- Requiere autenticación
- No
- Publicada
- 6 jun 2019
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Qué pasa
A Directory Traversal issue was discovered in RubyGems 2.7.6 and later through 3.0.2. Before making new directories or touching files (which now include path-checking code for symlinks), it would delete the target destination. If that destination was hidden behind a symlink, a malicious gem could delete arbitrary files on the user's machine, presuming the attacker could guess at paths. Given how frequently gem is run as sudo, and how predictable paths are on modern systems (/tmp, /usr, etc.), this could likely lead to data loss or an unusable system.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Rubygems.
- 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 | rubygems-update |
≥ 2.7.6 < 2.7.9 |
2.7.9 |
gem "rubygems-update", ">= 2.7.9" |
| RubyGems | rubygems-update |
≥ 3.0.0 < 3.0.3 |
3.0.3 |
gem "rubygems-update", ">= 3.0.3" |
Según OSV / GitHub Advisories (GHSA-5x32-c9mf-49cc). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| rubygems | rubygems | ≥ 2.7.6 ≤ 3.0.2 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- lists.opensuse.org
- access.redhat.com
- blog.rubygems.org Vendor Advisory
- hackerone.com Exploit Third Party Advisory
- lists.debian.org