CVE-2022-1537Gruntjs Grunt
Alta 7.0
Seguir: esta CVE · Gruntjs · Gruntjs Grunt Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 42
- CVSS 3.1
- 7.0
- EPSS
- 0.3% probabilidad de explotación en 30 días · percentil 11
- Requiere autenticación
- Sí
- Publicada
- 10 may 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-367
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Qué pasa
file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in GitHub repository gruntjs/grunt prior to 1.5.3. This vulnerability is capable of arbitrary file writes which can lead to local privilege escalation to the GruntJS user if a lower-privileged user has write access to both source and destination directories as the lower-privileged user can create a symlink to the GruntJS user's .bashrc file or replace /etc/shadow file if the GruntJS user is root.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Grunt.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | grunt |
< 1.5.3 |
1.5.3 |
npm install grunt@1.5.3 |
Según OSV / GitHub Advisories (GHSA-rm36-94g8-835r). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| gruntjs | grunt | < 1.5.3 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Technical Description
- huntr.dev Exploit Issue Tracking Patch
- lists.debian.org