CVE-2019-16776 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| npmjs npm | < 6.13.3 |
CPE
Remediation
| |
| opensuse leap | 15.1 |
CPE
Remediation
| |
| oracle graalvm | 19.3.0.2 |
CPE
Remediation
| |
| fedoraproject fedora | 31 |
CPE
Remediation
| |
| redhat enterprise linux | 8.0 |
CPE
Remediation
| |
| redhat enterprise linux eus | 8.1 |
CPE
Remediation
| |
Change History
17 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Aug 2, 2022 | Reanalysis | [email protected] |
| Oct 7, 2020 | Modified Analysis | [email protected] |
| Apr 7, 2020 | CVE Modified | [email protected] |
| Feb 25, 2020 | CVE Modified | [email protected] |
| Feb 25, 2020 | CVE Modified | [email protected] |
| Feb 25, 2020 | CVE Modified | [email protected] |
| Feb 24, 2020 | CVE Modified | [email protected] |
| Feb 21, 2020 | CVE Modified | [email protected] |
| Feb 10, 2020 | CVE Modified | [email protected] |
| Jan 24, 2020 | CVE Modified | [email protected] |
| Jan 15, 2020 | CVE Modified | [email protected] |
| Jan 15, 2020 | CVE Modified | [email protected] |
| Dec 19, 2019 | Initial Analysis | [email protected] |