CVE-2019-16776Npmjs Npm
Alta 8.1
Seguir: esta CVE · Npmjs · Npmjs Npm Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 49
- CVSS 3.1
- 8.1
- EPSS
- 3.4% probabilidad de explotación en 30 días · percentil 90
- Requiere autenticación
- Sí
- Publicada
- 13 dic 2019
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Qué pasa
Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access to arbitrary files on a user's system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Npm.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | npm |
< 6.13.3 |
6.13.3 |
npm install npm@6.13.3 |
Según OSV / GitHub Advisories (GHSA-x8qc-rrcw-4r46). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| npmjs | npm | < 6.13.3 |
| opensuse | leap | 15.1 |
| oracle | graalvm | 19.3.0.2 |
| fedoraproject | fedora | 31 |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux_eus | 8.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- lists.opensuse.org Mailing List Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- blog.npmjs.org Third Party Advisory
- github.com Third Party Advisory
- lists.fedoraproject.org
- www.oracle.com Third Party Advisory