NodeJS/npm/6.10.3
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 | |
---|---|---|---|---|
6.14.13 | Artistic-2.0 | 2021-04-12 - 15:16 | over 3 years | |
6.14.12 | Artistic-2.0 | 2021-03-25 - 21:19 | over 3 years | |
6.14.11 | Artistic-2.0 | 2021-01-08 - 02:20 | almost 4 years | |
6.14.10 | Artistic-2.0 | 2020-12-18 - 19:37 | almost 4 years | |
6.14.9 | Artistic-2.0 | 2020-11-20 - 20:49 | almost 4 years | |
6.14.8 | Artistic-2.0 | 2020-08-17 - 20:50 | about 4 years | |
6.14.7 | Artistic-2.0 | 2020-07-21 - 20:19 | over 4 years | |
6.14.6 | Artistic-2.0 | 2020-07-07 - 17:14 | over 4 years | |
6.14.5 | Artistic-2.0 | 1 | 2020-05-04 - 16:46 | over 4 years |
6.14.4 | Artistic-2.0 | 1 | 2020-03-25 - 15:46 | over 4 years |
6.14.3 | Artistic-2.0 | 1 | 2020-03-19 - 15:11 | over 4 years |
6.14.2 | Artistic-2.0 | 1 | 2020-03-03 - 18:36 | over 4 years |
6.14.1 | Artistic-2.0 | 1 | 2020-02-27 - 00:40 | over 4 years |
6.14.0 | Artistic-2.0 | 1 | 2020-02-25 - 19:07 | over 4 years |
6.13.7 | Artistic-2.0 | 1 | 2020-01-28 - 19:09 | almost 5 years |
6.13.6 | Artistic-2.0 | 1 | 2020-01-09 - 23:00 | almost 5 years |
6.13.5 | Artistic-2.0 | 1 | 2020-01-09 - 21:14 | almost 5 years |
6.13.4 | Artistic-2.0 | 1 | 2019-12-11 - 19:05 | almost 5 years |
6.13.3 | Artistic-2.0 | 2 | 2019-12-10 - 01:31 | almost 5 years |
6.13.2 | Artistic-2.0 | 4 | 2019-12-03 - 17:55 | almost 5 years |
6.13.1 | Artistic-2.0 | 4 | 2019-11-18 - 18:46 | almost 5 years |
6.13.0 | Artistic-2.0 | 4 | 2019-11-05 - 19:47 | almost 5 years |
6.12.1 | Artistic-2.0 | 4 | 2019-10-29 - 16:48 | about 5 years |
6.12.0 | Artistic-2.0 | 4 | 2019-10-08 - 15:43 | about 5 years |
6.12.0-next.0 | Artistic-2.0 | 4 | 2019-09-26 - 19:06 | about 5 years |
6.11.3 | Artistic-2.0 | 4 | 2019-09-03 - 22:18 | about 5 years |
6.11.2 | Artistic-2.0 | 4 | 2019-08-22 - 19:01 | about 5 years |
6.11.1 | Artistic-2.0 | 4 | 2019-08-21 - 00:17 | about 5 years |
6.11.0 | Artistic-2.0 | 4 | 2019-08-20 - 18:07 | about 5 years |
6.10.3 | Artistic-2.0 | 4 | 2019-08-06 - 16:21 | about 5 years |
6.10.2 | Artistic-2.0 | 4 | 2019-07-23 - 16:28 | over 5 years |
6.10.2-next.3 | Artistic-2.0 | 4 | 2019-07-22 - 23:29 | over 5 years |
6.10.2-next.2 | Artistic-2.0 | 4 | 2019-07-21 - 22:00 | over 5 years |
6.10.2-next.1 | Artistic-2.0 | 4 | 2019-07-17 - 16:36 | over 5 years |
6.10.2-next.0 | Artistic-2.0 | 4 | 2019-07-16 - 23:51 | over 5 years |
6.10.1 | Artistic-2.0 | 4 | 2019-07-11 - 17:41 | over 5 years |
6.10.1-next.2 | Artistic-2.0 | 4 | 2019-07-10 - 22:29 | over 5 years |
6.10.1-next.1 | Artistic-2.0 | 4 | 2019-07-03 - 21:44 | over 5 years |
6.10.1-next.0 | Artistic-2.0 | 4 | 2019-07-03 - 17:45 | over 5 years |
6.10.0 | Artistic-2.0 | 4 | 2019-07-03 - 16:58 | over 5 years |
6.10.0-next.0 | Artistic-2.0 | 4 | 2019-07-01 - 18:12 | over 5 years |
6.9.2 | Artistic-2.0 | 4 | 2019-06-27 - 20:05 | over 5 years |
6.9.1-next.0 | Artistic-2.0 | 4 | 2019-03-20 - 20:58 | over 5 years |
6.9.0 | Artistic-2.0 | 4 | 2019-03-06 - 18:59 | over 5 years |
6.9.0-next.0 | Artistic-2.0 | 4 | 2019-02-21 - 00:00 | over 5 years |
6.8.0 | Artistic-2.0 | 4 | 2019-02-13 - 23:19 | over 5 years |
6.8.0-next.2 | Artistic-2.0 | 4 | 2019-02-07 - 19:38 | over 5 years |
6.8.0-next.1 | Artistic-2.0 | 4 | 2019-02-06 - 22:41 | over 5 years |
6.8.0-next.0 | Artistic-2.0 | 4 | 2019-01-31 - 20:04 | over 5 years |
6.7.0 | Artistic-2.0 | 4 | 2019-01-23 - 22:12 | almost 6 years |
6.6.0 | Artistic-2.0 | 4 | 2019-01-17 - 22:55 | almost 6 years |
6.6.0-next.1 | Artistic-2.0 | 4 | 2019-01-10 - 19:53 | almost 6 years |
6.6.0-next.0 | Artistic-2.0 | 4 | 2018-12-12 - 21:59 | almost 6 years |
6.5.0 | Artistic-2.0 | 4 | 2018-12-10 - 22:27 | almost 6 years |
6.5.0-next.0 | Artistic-2.0 | 4 | 2018-11-28 - 22:29 | almost 6 years |
6.4.1 | Artistic-2.0 | 4 | 2018-08-29 - 18:21 | about 6 years |
6.4.1-next.0 | Artistic-2.0 | 4 | 2018-08-23 - 01:27 | about 6 years |
6.4.0 | Artistic-2.0 | 4 | 2018-08-15 - 17:40 | about 6 years |
6.4.0-next.0 | Artistic-2.0 | 4 | 2018-08-09 - 04:11 | about 6 years |
6.3.0 | Artistic-2.0 | 4 | 2018-08-02 - 01:46 | about 6 years |
6.3.0-next.0 | Artistic-2.0 | 4 | 2018-07-25 - 21:19 | over 6 years |
6.2.0 | Artistic-2.0 | 4 | 2018-07-14 - 05:06 | over 6 years |
6.2.0-next.1 | Artistic-2.0 | 4 | 2018-07-05 - 18:48 | over 6 years |
6.2.0-next.0 | Artistic-2.0 | 4 | 2018-06-29 - 19:57 | over 6 years |
6.1.0 | Artistic-2.0 | 4 | 2018-05-24 - 05:28 | over 6 years |
6.1.0-next.0 | Artistic-2.0 | 4 | 2018-05-17 - 22:11 | over 6 years |
6.0.1 | Artistic-2.0 | 4 | 2018-05-10 - 04:08 | over 6 years |
6.0.1-next.0 | Artistic-2.0 | 4 | 2018-05-04 - 20:58 | over 6 years |
6.0.0 | Artistic-2.0 | 4 | 2018-04-24 - 05:48 | over 6 years |
6.0.0-next.2 | Artistic-2.0 | 4 | 2018-04-21 - 04:16 | over 6 years |
6.0.0-next.1 | Artistic-2.0 | 4 | 2018-04-13 - 21:30 | over 6 years |
6.0.0-next.0 | Artistic-2.0 | 4 | 2018-03-23 - 23:09 | over 6 years |
5.10.0 | Artistic-2.0 | 4 | 2018-05-11 - 21:26 | over 6 years |
5.10.0-next.1 | Artistic-2.0 | 4 | 2018-05-07 - 23:30 | over 6 years |
5.10.0-next.0 | Artistic-2.0 | 4 | 2018-04-13 - 21:17 | over 6 years |
5.9.0-next.0 | Artistic-2.0 | 4 | 2018-03-23 - 23:20 | over 6 years |
5.8.0 | Artistic-2.0 | 4 | 2018-03-23 - 10:07 | over 6 years |
5.8.0-next.0 | Artistic-2.0 | 4 | 2018-03-13 - 00:28 | over 6 years |
5.7.1 | Artistic-2.0 | 4 | 2018-02-22 - 17:28 | over 6 years |
5.7.0 | Artistic-2.0 | 5 | 2018-02-21 - 21:38 | over 6 years |
5.6.0 | Artistic-2.0 | 5 | 2017-11-28 - 03:40 | almost 7 years |
5.5.1 | Artistic-2.0 | 5 | 2017-10-04 - 16:49 | about 7 years |
5.5.0 | Artistic-2.0 | 5 | 2017-10-04 - 09:34 | about 7 years |
5.4.2 | Artistic-2.0 | 5 | 2017-09-15 - 00:49 | about 7 years |
5.4.1 | Artistic-2.0 | 5 | 2017-09-06 - 22:46 | about 7 years |
5.4.0 | Artistic-2.0 | 5 | 2017-08-23 - 01:00 | about 7 years |
5.3.0 | Artistic-2.0 | 5 | 2017-07-14 - 05:12 | over 7 years |
5.2.0 | Artistic-2.0 | 5 | 2017-07-11 - 00:48 | over 7 years |
5.1.0 | Artistic-2.0 | 5 | 2017-07-06 - 01:57 | over 7 years |
5.0.4 | Artistic-2.0 | 5 | 2017-06-26 - 18:55 | over 7 years |
5.0.3 | Artistic-2.0 | 5 | 2017-06-05 - 23:09 | over 7 years |
5.0.2 | Artistic-2.0 | 5 | 2017-06-02 - 23:46 | over 7 years |
5.0.1 | Artistic-2.0 | 5 | 2017-06-01 - 02:19 | over 7 years |
5.0.0 | Artistic-2.0 | 5 | 2017-05-26 - 03:27 | over 7 years |
4.6.1 | Artistic-2.0 | 5 | 2017-04-22 - 02:22 | over 7 years |
4.6.0 | Artistic-2.0 | 5 | 2017-04-22 - 01:14 | over 7 years |
4.5.0 | Artistic-2.0 | 5 | 2017-03-24 - 23:41 | over 7 years |
4.4.4 | Artistic-2.0 | 5 | 2017-03-16 - 23:58 | over 7 years |
4.4.3 | Artistic-2.0 | 5 | 2017-03-16 - 01:20 | over 7 years |
4.4.2 | Artistic-2.0 | 5 | 2017-03-10 - 01:09 | over 7 years |