CVE-2019-16776 (High) detected in npm-6.10.0.tgz
mend-bolt-for-github opened this issue · 0 comments
CVE-2019-16776 - High Severity Vulnerability
Vulnerable Library - npm-6.10.0.tgz
a package manager for JavaScript
Library home page: https://registry.npmjs.org/npm/-/npm-6.10.0.tgz
Path to dependency file: sync-moltin-to-zendesk/package.json
Path to vulnerable library: sync-moltin-to-zendesk/node_modules/npm/package.json
Dependency Hierarchy:
- semantic-release-15.13.18.tgz (Root Library)
- npm-5.1.13.tgz
- ❌ npm-6.10.0.tgz (Vulnerable Library)
- npm-5.1.13.tgz
Found in HEAD commit: 70c8b9e11fb96d209b8624671a9739aa15c35084
Vulnerability Details
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
CVSS 3 Score Details (8.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- 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.3;yarn - 1.21.1
Step up your Open Source Security Game with WhiteSource here