VDB
CVE-2019-16775
CVE-2019-16775
PUBLISHED
CVSS 7.699999809265137 HIGH
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.
EPSS 3.33% · 88.2th percentile
Risk Scores
CVSS 3.1
7.699999809265137
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
EPSS Score
3.33%
88.2th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:14.04:LTS | npm | 0, 1.3.10~dfsg-1, 1.2.18~dfsg-3 |
| Ubuntu:Pro:16.04:LTS | npm | 0, 3.5.2-0ubuntu4, 3.5.2-0ubuntu4.1.16.04.1~esm1 |
| Ubuntu:Pro:18.04:LTS | npm | 3.5.2-0ubuntu4.1.18.04.1~esm1, 0, 3.5.2-0ubuntu4 |
| Ubuntu:24.04:LTS | npm | 0, 9.2.0~ds1-1, 9.2.0~ds1-2 |
| Ubuntu:20.04:LTS | npm | 6.14.4+ds-1ubuntu2, 5.8.0+ds6-4, 0 |
| Ubuntu:22.04:LTS | npm | *, *, * |
| Ubuntu:25.10 | npm | 9.2.0~ds1-3, 0 |
Timeline
- Dec 13, 2019 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Oct 21, 2021 CVE Updated
- Oct 26, 2021 EPSS Score
- Dec 28, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Mar 1, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 3, 2022 EPSS Score
- Jul 5, 2022 EPSS Score
- Nov 8, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2019-16775 third-party-advisory
- https://github.com/npm/cli/security/advisories/GHSA-m6cx-g6qm-p2cx third-party-advisory
- https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2019-16775 third-party-advisory