Amenazas en vivo

Todas las CVE / Shescape Project

CVE-2022-31179Shescape Project Shescape

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
1.4%
probabilidad de explotación en 30 días · percentil 72
Requiere autenticación
No
Publicada
1 ago 2022
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-74
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

Shescape is a simple shell escape package for JavaScript. Versions prior to 1.5.8 were found to be subject to code injection on windows. This impacts users that use Shescape (any API function) to escape arguments for cmd.exe on Windows An attacker can omit all arguments following their input by including a line feed character (`'\n'`) in the payload. This bug has been patched in [v1.5.8] which you can upgrade to now. No further changes are required. Alternatively, line feed characters (`'\n'`) can be stripped out manually or the user input can be made the last argument (this only limits the impact).

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 Shescape.
  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
npm shescape < 1.5.8 1.5.8 npm install shescape@1.5.8

Según OSV / GitHub Advisories (GHSA-jjc5-fp7p-6f8w). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
shescape_projectshescape< 1.5.8

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.