CVE-2019-16777

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-16777
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16777.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-16777
Aliases
Related
Published
2019-12-13T01:15:11Z
Modified
2024-09-18T01:00:21Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:11 / npm

Package

Name
npm
Purl
pkg:deb/debian/npm?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.13.4+ds-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / npm

Package

Name
npm
Purl
pkg:deb/debian/npm?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.13.4+ds-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / npm

Package

Name
npm
Purl
pkg:deb/debian/npm?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.13.4+ds-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}