Amenazas en vivo

Todas las CVE / Rubygems

CVE-2019-8320Rubygems

Alta 7.4 Sin autenticación

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Rubygems.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
rubygemsrubygems≥ 2.7.6 ≤ 3.0.2

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.