CVE-2019-16777 (Medium) detected in npm-6.9.0.tgz
mend-bolt-for-github opened this issue · 0 comments
CVE-2019-16777 - 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: sync-shipengine-to-moltin/package.json
Path to vulnerable library: sync-shipengine-to-moltin/node_modules/npm/package.json
Dependency Hierarchy:
- semantic-release-15.13.14.tgz (Root Library)
- npm-5.1.7.tgz
- ❌ npm-6.9.0.tgz (Vulnerable Library)
- npm-5.1.7.tgz
Found in HEAD commit: 76b0132e230554b578569ba874615bf8087eaa6d
Vulnerability Details
Versions of the npm CLI prior to 6.13.4 are vulnerable to an Arbitrary File Overwrite. It fails to prevent existing globally-installed binaries to be overwritten by other package installations. For example, if a package was installed globally and created a serve binary, any subsequent installs of packages that also create a serve binary would overwrite the previous serve binary. This behavior is still allowed in local installations and also through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
Publish Date: 2019-12-13
URL: CVE-2019-16777
CVSS 3 Score Details (6.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: High
- Availability Impact: None
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.4
Step up your Open Source Security Game with WhiteSource here