
CVE catalog
CVE-2019-16777
npm: CVE-2019-16777
- Severity
- High · CVSS 7.7
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.13% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | npm | sid | 12.2.0+ds1-1 | fixed |
| Debian | npm | forky | 12.2.0+ds1-1 | fixed |
| Debian | npm | trixie | 9.2.0~ds1-3 | fixed |
| Debian | npm | bookworm | 9.2.0~ds1-1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | npm | source | sid | 6.13.4+ds-2 | not yet assigned | Not reported | [947127] |
| Debian | npm | source | forky | 6.13.4+ds-2 | not yet assigned | Not reported | [947127] |
| Debian | npm | source | trixie | 6.13.4+ds-2 | not yet assigned | Not reported | [947127] |
| Debian | npm | source | bookworm | 6.13.4+ds-2 | not yet assigned | Not reported | [947127] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [npm]Fixed
Details (2)
9.2.0~ds1-1· all · bookwormFixed · Fixed:
6.13.4+ds-2dsa · npm · debian · bookworm; dsa · npm · debian · 12
9.2.0~ds1-1· all · bookwormFixed · Fixed:
6.13.4+ds-2dsa · npm · debian · bookworm; dsa · npm · debian · 12
[Debian 13 (Trixie)]
- [npm]Fixed
Details (2)
9.2.0~ds1-3· all · trixieFixed · Fixed:
6.13.4+ds-2dsa · npm · debian · 13
9.2.0~ds1-3· all · trixieFixed · Fixed:
6.13.4+ds-2dsa · npm · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhea-2020_0330.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-16777]
- [https://security-tracker.debian.org/tracker/CVE-2019-16777]
- [https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-16777.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2020/wid-sec-w-2026-2183.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]