CVE-2019-16777
CVE-2019-16777 · Arbitrary File Overwrite in npm CLI
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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.
CVSS 7.7 · Hoch · EPSS 2,1% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system · node
Betroffene Produkte und Versionen
cli
- Softwareversionen
- ≥ < 6.13.4, < 6.13.4: Betroffen (custom)
Keine Korrektur veröffentlicht
npm Debian:12
- Betroffene Versionsbereiche
- ECOSYSTEM: < 6.13.4+ds-2
Auf 6.13.4+ds-2 aktualisieren
npm Debian:13
- Betroffene Versionsbereiche
- ECOSYSTEM: < 6.13.4+ds-2
Auf 6.13.4+ds-2 aktualisieren
npm Debian:14
- Betroffene Versionsbereiche
- ECOSYSTEM: < 6.13.4+ds-2
Auf 6.13.4+ds-2 aktualisieren
npm npm
- Betroffene Versionsbereiche
- SEMVER: < 6.13.4
Auf 6.13.4 aktualisieren
npm Ubuntu:14.04:LTS
- Softwareversionen
- 1.2.18~dfsg-3
- 1.3.10~dfsg-1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
npm Ubuntu:Pro:16.04:LTS
- Softwareversionen
- 1.4.21+ds-2
- 3.5.2-0ubuntu4
- 3.5.2-0ubuntu4.1.16.04.1~esm1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
npm Ubuntu:Pro:18.04:LTS
- Softwareversionen
- 3.5.2-0ubuntu4
- 3.5.2-0ubuntu4.1.18.04.1~esm1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
npm Ubuntu:20.04:LTS
- Softwareversionen
- 5.8.0+ds6-4
- 6.14.4+ds-1ubuntu2
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
npm Ubuntu:22.04:LTS
- Softwareversionen
- 7.5.2+ds-2
- 7.24.2+ds-1
- 7.24.2+ds-2
- 8.3.0~ds-1
- 8.3.0~ds-2
- 8.3.2~ds-1
- 8.5.0~ds-1
- 8.5.1~ds-1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
npm Ubuntu:24.04:LTS
- Softwareversionen
- 9.2.0~ds1-1
- 9.2.0~ds1-2
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
npm Ubuntu:25.10
- Softwareversionen
- 9.2.0~ds1-3
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
npm Ubuntu:26.10
- Softwareversionen
- 9.2.0~ds3-1
- 11.16.0+ds2-4
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
npm Ubuntu:26.04:LTS
- Softwareversionen
- 9.2.0~ds1-3
- 9.2.0~ds2-2
- 9.2.0~ds3-1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
Originalquellen
- https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
- https://github.com/npm/cli/security/advisories/GHSA-4328-8hgf-7wjr
- https://www.oracle.com/security-alerts/cpujan2020.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
- https://access.redhat.com/errata/RHEA-2020:0330
- https://access.redhat.com/errata/RHSA-2020:0573
- https://access.redhat.com/errata/RHSA-2020:0579
- https://access.redhat.com/errata/RHSA-2020:0597
- https://access.redhat.com/errata/RHSA-2020:0602
- https://security.gentoo.org/glsa/202003-48
- https://nvd.nist.gov/vuln/detail/CVE-2019-16777