CVE-2019-16777 Details
Description
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.
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-269 | Improper Privilege Management | [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.4 |
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 9, 2020 | Modified Analysis | [email protected] |
| Mar 20, 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] |
| 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] |
| Dec 13, 2019 | CVE Modified | [email protected] |