DEBIAN-CVE-2019-16777

Source
https://security-tracker.debian.org/tracker/CVE-2019-16777
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-16777.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2019-16777
Upstream
Published
2019-12-13T01:15:11Z
Modified
2025-09-30T03:54:22Z
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"
}

Debian:14 / 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"
}