Vulnerability in Npm Cli

CVE-2019-16775

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N.

EPSS exploit prediction

EPSS: 0.033 (88.6th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 88.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2019-16775: held from 0.033 to 0.033.

EPSS over last 30 days · oldest: 0.033 · newest: 0.033 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2019-16775?
CVE-2019-16775 is a high-severity vulnerability in Npm Cli, classified under UNIX Symbolic Link (Symlink) Following. CVSS score: 7.7/10. Published 2019-12-13.
How severe is CVE-2019-16775?
High severity. CVSS v3 base score is 7.7 out of 10.
Is CVE-2019-16775 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.