CVE-2019-16775CWE-61

Unauthorized File Access in npm CLI before before version 6.13.3

High · published December 13, 2019

CVSS v3.1
7.7
EPSS
3%
Percentile
88.6
In the wild
Unconfirmed
What it is

Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It is possible for packages to create symlinks to files outside of thenode_modules folder through the bin field upon installation. A properly constructed entry in the package.json bin field would allow a package publisher to create a symlink pointing 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.

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.03334 · 88.6th percentile
Weakness
CWE-61 · UNIX Symbolic Link (Symlink) Following
Published
2019-12-13T00:55Z
EPSS history
Timeline
  • 13 DEC 00:55Z
    Unauthorized File Access in npm CLI before before version 6.13.3
    cvelistv5