This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
CVE-2019-16776 (High) detected in npm-6.9.0.tgz - autoclosed #139
Labels
security vulnerability
Security vulnerability detected by WhiteSource
CVE-2019-16776 - High Severity Vulnerability
a package manager for JavaScript
Library home page: https://registry.npmjs.org/npm/-/npm-6.9.0.tgz
Path to dependency file: stripe-distinct-usage-tracking/package.json
Path to vulnerable library: stripe-distinct-usage-tracking/node_modules/npm
Dependency Hierarchy:
Found in HEAD commit: 288b1c7d0d0acd2be479cdcac3dd10a64fc6e714
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.
Publish Date: 2019-12-13
URL: CVE-2019-16776
Base Score Metrics:
Type: Upgrade version
Origin: https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
Release Date: 2019-12-13
Fix Resolution: npm - 6.13.3;yarn - 1.21.1
Step up your Open Source Security Game with WhiteSource here
The text was updated successfully, but these errors were encountered: