CVE catalog

CVE-2019-16775

npm: CVE-2019-16775

[CVE catalog]

Severity
High · CVSS 7.7CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
3.33% · Oct 25, 2026

Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It is possible for packages to create symlinks to files outside of thenode_modules folder through the bin field upon installation. A properly constructed entry in the package.json bin field would allow a package publisher to create a symlink pointing to arbitrary files on a user's system when the package is installed. This behavior is still possible 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.

DistributionPackageReleaseVersionStatus
Debiannpmsid12.2.0+ds1-1fixed
Debiannpmforky12.2.0+ds1-1fixed
Debiannpmtrixie9.2.0~ds1-3fixed
Debiannpmbookworm9.2.0~ds1-1fixed
Susenodejs10linux enterprise module for web and scripting 1510.18.0-1.15.1fixed
Susenodejs10linux enterprise module for web and scripting 15 sp110.18.0-1.15.1fixed
Opensusenodejs8leap 15.18.17.0-lp151.2.9.1fixed
Susenodejs6openstack cloud 76.17.1-11.30.1fixed
Susenodejs6openstack cloud crowbar 86.17.1-11.30.1fixed
Susenodejs6openstack cloud crowbar 96.17.1-11.30.1fixed
Susenodejs6linux enterprise module for web and scripting 126.17.1-11.30.1fixed
Susenodejs8linux enterprise module for web and scripting 158.17.0-3.25.1fixed
Susenodejs8linux enterprise module for web and scripting 15 sp18.17.0-3.25.1fixed
Susenodejs10linux enterprise module for web and scripting 1210.18.0-1.15.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannpmsourcesid6.13.4+ds-2not yet assignedNot reported[947127]
Debiannpmsourceforky6.13.4+ds-2not yet assignedNot reported[947127]
Debiannpmsourcetrixie6.13.4+ds-2not yet assignedNot reported[947127]
Debiannpmsourcebookworm6.13.4+ds-2not yet assignedNot reported[947127]
Susenodejs10rpmlinux enterprise module for web and scripting 1510.18.0-1.15.1Not reportedSUSE-SU-2020:0104-1Not reported
Susenodejs10rpmlinux enterprise module for web and scripting 15 sp110.18.0-1.15.1Not reportedSUSE-SU-2020:0104-1Not reported
Opensusenodejs8rpmleap 15.18.17.0-lp151.2.9.1Not reportedOPENSUSE-SU-2020:0059-1Not reported
Susenodejs6rpmopenstack cloud 76.17.1-11.30.1Not reportedSUSE-SU-2020:0247-1Not reported
Susenodejs6rpmopenstack cloud crowbar 86.17.1-11.30.1Not reportedSUSE-SU-2020:0247-1Not reported
Susenodejs6rpmopenstack cloud crowbar 96.17.1-11.30.1Not reportedSUSE-SU-2020:0247-1Not reported
Susenodejs6rpmlinux enterprise module for web and scripting 126.17.1-11.30.1Not reportedSUSE-SU-2020:0247-1Not reported
Susenodejs8rpmlinux enterprise module for web and scripting 158.17.0-3.25.1Not reportedSUSE-SU-2020:0043-1Not reported
Susenodejs8rpmlinux enterprise module for web and scripting 15 sp18.17.0-3.25.1Not reportedSUSE-SU-2020:0043-1Not reported
Susenodejs10rpmlinux enterprise module for web and scripting 1210.18.0-1.15.1Not reportedSUSE-SU-2020:0063-1Not reported

[Debian bug #947127]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [npm]Fixed
    Details (2)
    • 9.2.0~ds1-1 · all · bookworm

      Fixed · Fixed: 6.13.4+ds-2

      dsa · npm · debian · bookworm; dsa · npm · debian · 12

    • 9.2.0~ds1-1 · all · bookworm

      Fixed · Fixed: 6.13.4+ds-2

      dsa · npm · debian · bookworm; dsa · npm · debian · 12

[Debian 13 (Trixie)]

  • [npm]Fixed
    Details (2)
    • 9.2.0~ds1-3 · all · trixie

      Fixed · Fixed: 6.13.4+ds-2

      dsa · npm · debian · 13

    • 9.2.0~ds1-3 · all · trixie

      Fixed · Fixed: 6.13.4+ds-2

      dsa · npm · debian · 13

Observed:

References