This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
CVE-2019-16775 (Medium) detected in npm-6.9.0.tgz #140
Labels
security vulnerability
Security vulnerability detected by WhiteSource
CVE-2019-16775 - Medium Severity Vulnerability
Vulnerable Library - npm-6.9.0.tgz
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: 83c1642c7babb504882f75d3a9d951f65620b0dd
Vulnerability Details
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.
Publish Date: 2019-12-13
URL: CVE-2019-16775
CVSS 3 Score Details (6.5)
Base Score Metrics:
Suggested Fix
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: