CVE-2021-42740
CVE-2021-42740
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
The shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real shell as a quoted argument to a command with exec(), an attacker can inject arbitrary commands. This is because the Windows drive letter regex character class is {A-z] instead of the correct {A-Za-z]. Several shell metacharacters exist in the space between capital letter Z and lower case letter a, such as the backtick character.
CVSS 9.8 · Crítica · EPSS 4,2% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system · node
Productos y versiones afectados
n/a
- Versiones
- n/a: Afectada
Sin corrección publicada
node-shell-quote Debian:12
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.7.3+~1.7.1-1
Actualiza a 1.7.3+~1.7.1-1
node-shell-quote Debian:13
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.7.3+~1.7.1-1
Actualiza a 1.7.3+~1.7.1-1
node-shell-quote Debian:14
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.7.3+~1.7.1-1
Actualiza a 1.7.3+~1.7.1-1
shell-quote npm
- Intervalos de versiones afectados
- SEMVER: ≥ 1.6.3, < 1.7.3
Actualiza a 1.7.3
node-shell-quote Ubuntu:Pro:18.04:LTS
- Versiones
- 1.6.1+20160617-git72fb5a8ce29b-1
- 1.6.1+20160617-git72fb5a8ce29b-1ubuntu0.1~esm1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada