NodeJS/npm/6.2.0-next.0
a package manager for JavaScript
https://www.npmjs.com/package/npm
Artistic-2.0
4 Security Vulnerabilities
npm Vulnerable to Global node_modules Binary Overwrite
- https://github.com/npm/cli/security/advisories/GHSA-4328-8hgf-7wjr
- https://nvd.nist.gov/vuln/detail/CVE-2019-16777
- https://github.com/advisories/GHSA-4328-8hgf-7wjr
- https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
- https://www.npmjs.com/advisories/1437
- 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://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
- https://security.gentoo.org/glsa/202003-48
- https://www.oracle.com/security-alerts/cpujan2020.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html
Versions of the npm CLI prior to 6.13.4 are vulnerable to a Global node_modules Binary 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 first binary. This will not overwrite system binaries but only binaries put into the global node_modules directory.
This behavior is still allowed in local installations and also through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
Recommendation
Upgrade to version 6.13.4 or later.
npm CLI exposing sensitive information through logs
- https://github.com/npm/cli/security/advisories/GHSA-93f3-23rq-pjfp
- https://nvd.nist.gov/vuln/detail/CVE-2020-15095
- https://github.com/advisories/GHSA-93f3-23rq-pjfp
- https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc
- https://github.com/npm/cli/blob/66aab417f836a901f8afb265251f761bb0422463/CHANGELOG.md#6146-2020-07-07
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00011.html
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00015.html
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZBBK4O6/
- https://security.gentoo.org/glsa/202101-07
Versions of the npm CLI prior to 6.14.6 are vulnerable to an information exposure vulnerability through log files. The CLI supports URLs like <protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>
. The password value is not redacted and is printed to stdout and also to any generated log files.
Arbitrary File Write in npm
- https://github.com/npm/cli/security/advisories/GHSA-m6cx-g6qm-p2cx
- https://nvd.nist.gov/vuln/detail/CVE-2019-16775
- https://github.com/advisories/GHSA-m6cx-g6qm-p2cx
- https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
- https://www.npmjs.com/advisories/1434
- 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://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
- https://www.oracle.com/security-alerts/cpujan2020.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to create files on a user's system when the package is installed. It is only possible to affect files that the user running npm install
has access to and it is not possible to over write files that already exist on disk.
This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
Recommendation
Upgrade to version 6.13.3 or later.
npm symlink reference outside of node_modules
- https://github.com/npm/cli/security/advisories/GHSA-x8qc-rrcw-4r46
- https://nvd.nist.gov/vuln/detail/CVE-2019-16776
- https://github.com/advisories/GHSA-x8qc-rrcw-4r46
- https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
- https://www.npmjs.com/advisories/1436
- 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://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
- https://www.oracle.com/security-alerts/cpujan2020.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html
Versions of the npm CLI prior to 6.13.3 are vulnerable to a symlink reference outside of nodemodules. It is possible for packages to create symlinks to files outside of the`nodemodulesfolder through the
binfield 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. Only files accessible by the user running the
npm install` are affected.
This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
Recommendation
Upgrade to version 6.13.3 or later.
553 Other Versions
Version | License | Security | Released | |
---|---|---|---|---|
2.14.10 | Artistic-2.0 | 7 | 2015-11-06 - 01:34 | almost 9 years |
2.14.9 | Artistic-2.0 | 7 | 2015-10-30 - 01:15 | about 9 years |
2.14.8 | Artistic-2.0 | 7 | 2015-10-08 - 22:18 | about 9 years |
2.14.7 | Artistic-2.0 | 7 | 2015-10-02 - 18:11 | about 9 years |
2.14.6 | Artistic-2.0 | 7 | 2015-09-24 - 22:29 | about 9 years |
2.14.5 | Artistic-2.0 | 7 | 2015-09-17 - 22:43 | about 9 years |
2.14.4 | Artistic-2.0 | 7 | 2015-09-11 - 00:42 | about 9 years |
2.14.3 | Artistic-2.0 | 7 | 2015-09-03 - 22:21 | about 9 years |
2.14.2 | Artistic-2.0 | 7 | 2015-08-28 - 00:02 | about 9 years |
2.14.1 | Artistic-2.0 | 7 | 2015-08-21 - 00:31 | about 9 years |
2.14.0 | Artistic-2.0 | 7 | 2015-08-14 - 07:30 | about 9 years |
2.13.5 | Artistic-2.0 | 7 | 2015-08-07 - 08:21 | about 9 years |
2.13.4 | Artistic-2.0 | 7 | 2015-07-31 - 06:26 | over 9 years |
2.13.3 | Artistic-2.0 | 7 | 2015-07-24 - 05:41 | over 9 years |
2.13.2 | Artistic-2.0 | 7 | 2015-07-17 - 00:52 | over 9 years |
2.13.1 | Artistic-2.0 | 7 | 2015-07-10 - 02:49 | over 9 years |
2.13.0 | Artistic-2.0 | 7 | 2015-07-03 - 00:30 | over 9 years |
2.12.1 | Artistic-2.0 | 7 | 2015-06-26 - 03:20 | over 9 years |
2.12.0 | Artistic-2.0 | 7 | 2015-06-19 - 09:27 | over 9 years |
2.11.3 | Artistic-2.0 | 7 | 2015-06-12 - 03:56 | over 9 years |
2.11.2 | Artistic-2.0 | 7 | 2015-06-05 - 00:54 | over 9 years |
2.11.1 | Artistic-2.0 | 7 | 2015-05-28 - 21:36 | over 9 years |
2.11.0 | Artistic-2.0 | 7 | 2015-05-22 - 06:09 | over 9 years |
2.10.1 | Artistic-2.0 | 7 | 2015-05-15 - 05:02 | over 9 years |
2.10.0 | Artistic-2.0 | 7 | 2015-05-08 - 11:49 | over 9 years |
2.9.1 | Artistic-2.0 | 7 | 2015-05-01 - 04:05 | over 9 years |
2.9.0 | Artistic-2.0 | 7 | 2015-04-24 - 05:31 | over 9 years |
2.8.4 | Artistic-2.0 | 7 | 2015-04-17 - 07:55 | over 9 years |
2.8.3 | Artistic-2.0 | 7 | 2015-04-16 - 02:04 | over 9 years |
2.8.2 | Artistic-2.0 | 7 | 2015-04-15 - 00:20 | over 9 years |
2.8.1 | Artistic-2.0 | 7 | 2015-04-13 - 02:36 | over 9 years |
2.8.0 | Artistic-2.0 | 7 | 2015-04-10 - 12:32 | over 9 years |
2.7.6 | Artistic-2.0 | 7 | 2015-04-03 - 08:21 | over 9 years |
2.7.5 | Artistic-2.0 | 7 | 2015-03-27 - 10:29 | over 9 years |
2.7.4 | Artistic-2.0 | 7 | 2015-03-20 - 08:05 | over 9 years |
2.7.3 | Artistic-2.0 | 7 | 2015-03-17 - 01:05 | over 9 years |
2.7.2 | Artistic-2.0 | 7 | 2015-03-13 - 08:58 | over 9 years |
2.7.1 | Artistic-2.0 | 7 | 2015-03-06 - 08:43 | over 9 years |
2.7.0 | Artistic-2.0 | 7 | 2015-02-27 - 13:13 | over 9 years |
2.6.1 | Artistic-2.0 | 7 | 2015-02-20 - 16:54 | over 9 years |
2.6.0 | Artistic-2.0 | 7 | 2015-02-13 - 13:13 | over 9 years |
2.5.1 | Artistic-2.0 | 7 | 2015-02-06 - 09:05 | over 9 years |
2.5.0 | Artistic-2.0 | 7 | 2015-01-30 - 10:59 | almost 10 years |
2.4.1 | Artistic-2.0 | 7 | 2015-01-24 - 02:26 | almost 10 years |
2.4.0 | Artistic-2.0 | 7 | 2015-01-23 - 14:39 | almost 10 years |
2.3.0 | Artistic-2.0 | 7 | 2015-01-16 - 07:05 | almost 10 years |
2.2.0 | Artistic-2.0 | 7 | 2015-01-09 - 04:25 | almost 10 years |
2.1.18 | Artistic-2.0 | 7 | 2015-01-02 - 06:50 | almost 10 years |
2.1.17 | Artistic-2.0 | 7 | 2014-12-25 - 11:31 | almost 10 years |
2.1.16 | Artistic-2.0 | 7 | 2014-12-22 - 16:20 | almost 10 years |
2.1.15 | Artistic-2.0 | 7 | 2014-12-19 - 13:38 | almost 10 years |
2.1.14 | Artistic-2.0 | 7 | 2014-12-13 - 22:12 | almost 10 years |
2.1.13 | Artistic-2.0 | 7 | 2014-12-12 - 09:42 | almost 10 years |
2.1.12 | Artistic-2.0 | 7 | 2014-12-05 - 07:43 | almost 10 years |
2.1.11 | Artistic-2.0 | 7 | 2014-11-28 - 02:25 | almost 10 years |
2.1.10 | Artistic-2.0 | 7 | 2014-11-21 - 07:43 | almost 10 years |
2.1.9 | Artistic-2.0 | 7 | 2014-11-14 - 05:44 | almost 10 years |
2.1.8 | Artistic-2.0 | 7 | 2014-11-07 - 01:20 | almost 10 years |
2.1.7 | Artistic-2.0 | 7 | 2014-10-31 - 09:36 | about 10 years |
2.1.6 | Artistic-2.0 | 7 | 2014-10-24 - 08:30 | about 10 years |
2.1.5 | Artistic-2.0 | 7 | 2014-10-17 - 06:47 | about 10 years |
2.1.4 | Artistic-2.0 | 7 | 2014-10-10 - 06:25 | about 10 years |
2.1.3 | Artistic-2.0 | 7 | 2014-10-03 - 01:13 | about 10 years |
2.1.2 | Artistic-2.0 | 7 | 2014-09-30 - 03:06 | about 10 years |
2.1.1 | Artistic-2.0 | 7 | 2014-09-27 - 00:32 | about 10 years |
2.1.0 | Artistic-2.0 | 7 | 2014-09-26 - 09:23 | about 10 years |
2.0.2 | Artistic-2.0 | 7 | 2014-09-20 - 00:04 | about 10 years |
2.0.1 | Artistic-2.0 | 7 | 2014-09-19 - 07:05 | about 10 years |
2.0.0 | Artistic-2.0 | 7 | 2014-09-13 - 09:14 | about 10 years |
2.0.0-beta.3 | Artistic-2.0 | 7 | 2014-09-05 - 08:01 | about 10 years |
2.0.0-beta.2 | Artistic-2.0 | 7 | 2014-08-30 - 01:55 | about 10 years |
2.0.0-beta.1 | Artistic-2.0 | 7 | 2014-08-29 - 06:05 | about 10 years |
2.0.0-beta.0 | Artistic-2.0 | 7 | 2014-08-22 - 00:41 | about 10 years |
2.0.0-alpha.7 | Artistic-2.0 | 7 | 2014-08-15 - 03:02 | about 10 years |
2.0.0-alpha.6 | Artistic-2.0 | 7 | 2014-08-15 - 02:28 | about 10 years |
2.0.0-alpha-5 | Artistic-2.0 | 7 | 2014-07-23 - 01:46 | over 10 years |
2.0.0-alpha.6.0 | Artistic-2.0 | 7 | 2014-08-08 - 01:10 | about 10 years |
1.2.8000 | Artistic-2.0 | 7 | 2014-06-17 - 18:28 | over 10 years |
1.5.0-alpha-4 | Artistic-2.0 | 7 | 2014-07-19 - 06:14 | over 10 years |
1.5.0-alpha-1 | Artistic-2.0 | 7 | 2014-07-02 - 06:16 | over 10 years |
1.5.0-alpha-0 | Artistic-2.0 | 7 | 2014-07-02 - 02:16 | over 10 years |
1.5.0-alpha-2 | Artistic-2.0 | 7 | 2014-07-14 - 23:43 | over 10 years |
1.5.0-alpha-3 | Artistic-2.0 | 7 | 2014-07-17 - 08:10 | over 10 years |
1.4.29 | Artistic-2.0 | 7 | 2015-10-30 - 01:52 | about 9 years |
1.4.28 | Artistic-2.0 | 7 | 2014-09-13 - 08:21 | about 10 years |
1.4.27 | Artistic-2.0 | 7 | 2014-09-05 - 07:54 | about 10 years |
1.4.26 | Artistic-2.0 | 7 | 2014-08-29 - 07:25 | about 10 years |
1.4.25 | Artistic-2.0 | 7 | 2014-08-22 - 01:13 | about 10 years |
1.4.24 | Artistic-2.0 | 7 | 2014-08-15 - 02:17 | about 10 years |
1.4.23 | Artistic-2.0 | 7 | 2014-07-31 - 23:53 | over 10 years |
1.4.22 | Artistic-2.0 | 7 | 2014-07-31 - 17:24 | over 10 years |
1.4.21 | Artistic-2.0 | 7 | 2014-07-15 - 00:29 | over 10 years |
1.4.20 | Artistic-2.0 | 7 | 2014-07-02 - 17:34 | over 10 years |
1.4.19 | Artistic-2.0 | 7 | 2014-07-01 - 18:14 | over 10 years |
1.4.18 | Artistic-2.0 | 7 | 2014-06-29 - 21:44 | over 10 years |
1.4.17 | Artistic-2.0 | 7 | 2014-06-27 - 22:29 | over 10 years |
1.4.16 | Artistic-2.0 | 7 | 2014-06-17 - 18:25 | over 10 years |
1.4.15 | Artistic-2.0 | 7 | 2014-06-11 - 01:32 | over 10 years |
1.4.14 | Artistic-2.0 | 7 | 2014-06-05 - 21:51 | over 10 years |
1.4.13 | Artistic-2.0 | 7 | 2014-05-23 - 23:02 | over 10 years |