NodeJS/npm/1.4.5


a package manager for JavaScript

https://www.npmjs.com/package/npm
Artistic-2.0

7 Security Vulnerabilities

npm Vulnerable to Global node_modules Binary Overwrite

Published date: 2019-12-13T15:39:32Z
CVE: CVE-2019-16777
Links:

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.

Affected versions: ["1.1.25", "1.2.32", "1.3.2", "1.3.4", "1.2.20", "1.2.21", "1.2.22", "1.2.23", "1.2.24", "1.2.25", "1.2.27", "1.2.28", "1.2.30", "1.2.31", "1.3.0", "1.3.1", "1.2.19", "1.1.70", "1.1.71", "1.3.5", "1.3.6", "1.3.7", "1.3.8", "1.3.9", "1.3.10", "1.3.11", "1.3.12", "1.3.13", "1.3.14", "1.3.15", "1.3.16", "1.3.17", "1.3.18", "1.3.20", "1.3.21", "1.3.22", "1.3.23", "1.3.24", "1.3.25", "1.3.26", "1.4.0", "1.4.1", "1.4.2", "1.4.3", "1.4.4", "1.4.5", "1.4.6", "1.4.7", "1.4.8", "1.4.9", "1.4.10", "1.4.11", "1.4.12", "1.4.13", "1.4.14", "1.4.15", "1.4.16", "1.2.8000", "1.4.17", "1.4.18", "1.4.19", "1.5.0-alpha-0", "1.5.0-alpha-1", "1.4.20", "1.5.0-alpha-2", "1.4.21", "1.5.0-alpha-3", "1.5.0-alpha-4", "2.0.0-alpha-5", "1.4.22", "1.4.23", "2.0.0-alpha.6.0", "1.4.24", "2.0.0-alpha.6", "2.0.0-alpha.7", "2.0.0-beta.0", "1.4.25", "2.0.0-beta.1", "1.4.26", "2.0.0-beta.2", "1.4.27", "2.0.0-beta.3", "1.4.28", "2.0.0", "2.0.1", "2.0.2", "2.1.0", "2.1.1", "2.1.2", "2.1.3", "2.1.4", "2.1.5", "2.1.6", "2.1.7", "2.1.8", "2.1.9", "2.1.10", "2.1.11", "2.1.12", "2.1.13", "2.1.14", "2.1.15", "2.1.16", "2.1.17", "2.1.18", "2.2.0", "2.3.0", "2.4.0", "2.4.1", "2.5.0", "2.5.1", "2.6.0", "2.6.1", "2.7.0", "2.7.1", "2.7.2", "2.7.3", "2.7.4", "2.7.5", "2.7.6", "2.8.0", "2.8.1", "2.8.2", "2.8.3", "2.8.4", "2.9.0", "2.9.1", "2.10.0", "2.10.1", "2.11.0", "2.11.1", "2.11.2", "2.11.3", "2.12.0", "3.0.0", "2.12.1", "2.13.0", "3.1.0", "2.13.1", "3.1.1", "3.1.2", "2.13.2", "3.1.3", "2.13.3", "3.2.0", "2.13.4", "3.2.1", "2.13.5", "3.2.2", "2.14.0", "3.3.0", "2.14.1", "2.14.2", "3.3.1", "2.14.3", "3.3.2", "2.14.4", "3.3.3", "2.14.5", "3.3.4", "2.14.6", "3.3.5", "3.3.6", "2.14.7", "2.14.8", "3.3.7", "3.3.8", "3.3.9", "3.3.10", "2.14.9", "3.3.11", "1.4.29", "3.3.12", "2.14.10", "3.4.0", "3.4.1", "2.14.11", "2.14.12", "3.5.0", "3.5.1", "2.14.13", "2.14.14", "3.5.2", "2.14.15", "3.5.3", "3.5.4", "3.6.0", "2.14.16", "2.14.17", "3.7.0", "3.7.1", "3.7.2", "2.14.18", "3.7.3", "2.14.19", "2.14.20", "3.7.4", "3.7.5", "2.14.21", "3.8.0", "2.14.22", "3.8.1", "3.8.2", "2.15.0", "2.15.1", "3.8.3", "2.15.2", "3.8.4", "3.8.5", "3.8.6", "2.15.3", "3.8.7", "2.15.4", "3.8.8", "3.8.9", "2.15.5", "3.9.0", "3.9.1", "2.15.6", "3.9.2", "3.9.3", "3.9.4", "3.9.5", "3.9.6", "3.10.0", "2.15.7", "3.10.1", "2.15.8", "3.10.2", "3.10.3", "3.10.4", "2.15.9", "3.10.5", "3.10.6", "3.10.7", "2.15.10", "3.10.8", "2.15.11", "3.10.9", "4.0.0", "4.0.1", "4.0.2", "3.10.10", "4.0.3", "4.0.5", "4.1.0", "4.1.1", "4.1.2", "4.2.0", "4.3.0", "4.4.0", "4.4.1", "4.4.2", "4.4.3", "4.4.4", "4.5.0", "2.15.12", "4.6.0", "4.6.1", "5.0.0", "5.0.1", "5.0.2", "5.0.3", "5.0.4", "5.1.0", "5.2.0", "5.3.0", "5.4.0", "5.4.1", "5.4.2", "5.5.0", "5.5.1", "5.6.0", "5.7.0", "5.7.1", "5.8.0-next.0", "5.8.0", "6.0.0-next.0", "5.9.0-next.0", "5.10.0-next.0", "6.0.0-next.1", "6.0.0-next.2", "6.0.0", "6.0.1-next.0", "5.10.0-next.1", "6.0.1", "5.10.0", "6.1.0-next.0", "6.1.0", "6.2.0-next.0", "6.2.0-next.1", "6.2.0", "6.3.0-next.0", "6.3.0", "6.4.0-next.0", "6.4.0", "6.4.1-next.0", "6.4.1", "6.5.0-next.0", "6.5.0", "6.6.0-next.0", "6.6.0-next.1", "6.6.0", "6.7.0", "6.8.0-next.0", "6.8.0-next.1", "6.8.0-next.2", "6.8.0", "6.9.0-next.0", "6.9.0", "6.9.1-next.0", "6.9.2", "6.10.0-next.0", "6.10.0", "6.10.1-next.0", "6.10.1-next.1", "6.10.1-next.2", "6.10.1", "6.10.2-next.0", "6.10.2-next.1", "6.10.2-next.2", "6.10.2-next.3", "6.10.2", "6.10.3", "6.11.0", "6.11.1", "6.11.2", "6.11.3", "6.12.0-next.0", "6.12.0", "6.12.1", "6.13.0", "6.13.1", "6.13.2", "6.13.3"]
Secure versions: [6.14.6, 6.14.7, 7.0.0-beta.0, 7.0.0-beta.1, 7.0.0-beta.2, 7.0.0-beta.3, 7.0.0-beta.4, 6.14.8, 7.0.0-beta.5, 7.0.0-beta.6, 7.0.0-beta.7, 7.0.0-beta.8, 7.0.0-beta.9, 7.0.0-beta.10, 7.0.0-beta.11, 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 10.8.1, 10.8.2, 10.8.3, 10.9.0]
Recommendation: Update to version 10.9.0.

npm CLI exposing sensitive information through logs

Published date: 2020-07-07T18:56:16Z
CVE: CVE-2020-15095
Links:

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.

Affected versions: ["1.1.25", "1.2.32", "1.3.2", "1.3.4", "1.2.20", "1.2.21", "1.2.22", "1.2.23", "1.2.24", "1.2.25", "1.2.27", "1.2.28", "1.2.30", "1.2.31", "1.3.0", "1.3.1", "1.2.19", "1.1.70", "1.1.71", "1.3.5", "1.3.6", "1.3.7", "1.3.8", "1.3.9", "1.3.10", "1.3.11", "1.3.12", "1.3.13", "1.3.14", "1.3.15", "1.3.16", "1.3.17", "1.3.18", "1.3.20", "1.3.21", "1.3.22", "1.3.23", "1.3.24", "1.3.25", "1.3.26", "1.4.0", "1.4.1", "1.4.2", "1.4.3", "1.4.4", "1.4.5", "1.4.6", "1.4.7", "1.4.8", "1.4.9", "1.4.10", "1.4.11", "1.4.12", "1.4.13", "1.4.14", "1.4.15", "1.4.16", "1.2.8000", "1.4.17", "1.4.18", "1.4.19", "1.5.0-alpha-0", "1.5.0-alpha-1", "1.4.20", "1.5.0-alpha-2", "1.4.21", "1.5.0-alpha-3", "1.5.0-alpha-4", "2.0.0-alpha-5", "1.4.22", "1.4.23", "2.0.0-alpha.6.0", "1.4.24", "2.0.0-alpha.6", "2.0.0-alpha.7", "2.0.0-beta.0", "1.4.25", "2.0.0-beta.1", "1.4.26", "2.0.0-beta.2", "1.4.27", "2.0.0-beta.3", "1.4.28", "2.0.0", "2.0.1", "2.0.2", "2.1.0", "2.1.1", "2.1.2", "2.1.3", "2.1.4", "2.1.5", "2.1.6", "2.1.7", "2.1.8", "2.1.9", "2.1.10", "2.1.11", "2.1.12", "2.1.13", "2.1.14", "2.1.15", "2.1.16", "2.1.17", "2.1.18", "2.2.0", "2.3.0", "2.4.0", "2.4.1", "2.5.0", "2.5.1", "2.6.0", "2.6.1", "2.7.0", "2.7.1", "2.7.2", "2.7.3", "2.7.4", "2.7.5", "2.7.6", "2.8.0", "2.8.1", "2.8.2", "2.8.3", "2.8.4", "2.9.0", "2.9.1", "2.10.0", "2.10.1", "2.11.0", "2.11.1", "2.11.2", "2.11.3", "2.12.0", "3.0.0", "2.12.1", "2.13.0", "3.1.0", "2.13.1", "3.1.1", "3.1.2", "2.13.2", "3.1.3", "2.13.3", "3.2.0", "2.13.4", "3.2.1", "2.13.5", "3.2.2", "2.14.0", "3.3.0", "2.14.1", "2.14.2", "3.3.1", "2.14.3", "3.3.2", "2.14.4", "3.3.3", "2.14.5", "3.3.4", "2.14.6", "3.3.5", "3.3.6", "2.14.7", "2.14.8", "3.3.7", "3.3.8", "3.3.9", "3.3.10", "2.14.9", "3.3.11", "1.4.29", "3.3.12", "2.14.10", "3.4.0", "3.4.1", "2.14.11", "2.14.12", "3.5.0", "3.5.1", "2.14.13", "2.14.14", "3.5.2", "2.14.15", "3.5.3", "3.5.4", "3.6.0", "2.14.16", "2.14.17", "3.7.0", "3.7.1", "3.7.2", "2.14.18", "3.7.3", "2.14.19", "2.14.20", "3.7.4", "3.7.5", "2.14.21", "3.8.0", "2.14.22", "3.8.1", "3.8.2", "2.15.0", "2.15.1", "3.8.3", "2.15.2", "3.8.4", "3.8.5", "3.8.6", "2.15.3", "3.8.7", "2.15.4", "3.8.8", "3.8.9", "2.15.5", "3.9.0", "3.9.1", "2.15.6", "3.9.2", "3.9.3", "3.9.4", "3.9.5", "3.9.6", "3.10.0", "2.15.7", "3.10.1", "2.15.8", "3.10.2", "3.10.3", "3.10.4", "2.15.9", "3.10.5", "3.10.6", "3.10.7", "2.15.10", "3.10.8", "2.15.11", "3.10.9", "4.0.0", "4.0.1", "4.0.2", "3.10.10", "4.0.3", "4.0.5", "4.1.0", "4.1.1", "4.1.2", "4.2.0", "4.3.0", "4.4.0", "4.4.1", "4.4.2", "4.4.3", "4.4.4", "4.5.0", "2.15.12", "4.6.0", "4.6.1", "5.0.0", "5.0.1", "5.0.2", "5.0.3", "5.0.4", "5.1.0", "5.2.0", "5.3.0", "5.4.0", "5.4.1", "5.4.2", "5.5.0", "5.5.1", "5.6.0", "5.7.0", "5.7.1", "5.8.0-next.0", "5.8.0", "6.0.0-next.0", "5.9.0-next.0", "5.10.0-next.0", "6.0.0-next.1", "6.0.0-next.2", "6.0.0", "6.0.1-next.0", "5.10.0-next.1", "6.0.1", "5.10.0", "6.1.0-next.0", "6.1.0", "6.2.0-next.0", "6.2.0-next.1", "6.2.0", "6.3.0-next.0", "6.3.0", "6.4.0-next.0", "6.4.0", "6.4.1-next.0", "6.4.1", "6.5.0-next.0", "6.5.0", "6.6.0-next.0", "6.6.0-next.1", "6.6.0", "6.7.0", "6.8.0-next.0", "6.8.0-next.1", "6.8.0-next.2", "6.8.0", "6.9.0-next.0", "6.9.0", "6.9.1-next.0", "6.9.2", "6.10.0-next.0", "6.10.0", "6.10.1-next.0", "6.10.1-next.1", "6.10.1-next.2", "6.10.1", "6.10.2-next.0", "6.10.2-next.1", "6.10.2-next.2", "6.10.2-next.3", "6.10.2", "6.10.3", "6.11.0", "6.11.1", "6.11.2", "6.11.3", "6.12.0-next.0", "6.12.0", "6.12.1", "6.13.0", "6.13.1", "6.13.2", "6.13.3", "6.13.4", "6.13.5", "6.13.6", "6.13.7", "6.14.0", "6.14.1", "6.14.2", "6.14.3", "6.14.4", "6.14.5"]
Secure versions: [6.14.6, 6.14.7, 7.0.0-beta.0, 7.0.0-beta.1, 7.0.0-beta.2, 7.0.0-beta.3, 7.0.0-beta.4, 6.14.8, 7.0.0-beta.5, 7.0.0-beta.6, 7.0.0-beta.7, 7.0.0-beta.8, 7.0.0-beta.9, 7.0.0-beta.10, 7.0.0-beta.11, 7.0.0-beta.12, 7.0.0-beta.13, 7.0.0-rc.0, 7.0.0-rc.1, 7.0.0-rc.2, 7.0.0-rc.3, 7.0.0-rc.4, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 7.0.9, 7.0.10, 7.0.11, 7.0.12, 7.0.13, 6.14.9, 7.0.14, 7.0.15, 7.1.0, 7.1.1, 7.1.2, 7.2.0, 6.14.10, 7.3.0, 7.4.0, 6.14.11, 7.4.1, 7.4.2, 7.4.3, 7.5.0, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.6, 7.6.0, 7.6.1, 7.6.2, 7.6.3, 7.7.0, 7.7.1, 7.7.2, 7.7.3, 7.7.4, 6.14.12, 7.7.5, 7.7.6, 7.8.0, 6.14.13, 6.14.14, 6.14.15, 6.14.16, 6.14.17, 8.11.0, 8.12.0, 8.12.1, 8.12.2, 8.13.0, 8.13.1, 8.13.2, 8.14.0, 8.15.0, 8.15.1, 8.16.0, 8.17.0, 8.18.0, 8.19.0, 8.19.1, 9.0.0-pre.0, 8.19.2, 9.0.0-pre.1, 9.0.0-pre.2, 9.0.0-pre.3, 9.0.0-pre.4, 9.0.0-pre.5, 9.0.0-pre.6, 9.0.0, 9.0.1, 9.1.0, 8.19.3, 9.1.1, 9.1.2, 9.1.3, 9.2.0, 6.14.18, 9.3.0, 9.3.1, 9.4.0, 9.4.1, 9.4.2, 8.19.4, 9.5.0, 9.5.1, 9.6.0, 9.6.1, 9.6.2, 9.6.3, 9.6.4, 9.6.5, 9.6.6, 9.6.7, 9.7.0, 9.7.1, 9.7.2, 9.8.0, 9.8.1, 10.0.0-pre.0, 10.0.0-pre.1, 10.0.0, 10.1.0, 10.2.0, 9.9.0, 10.2.1, 10.2.2, 10.2.3, 9.9.1, 9.9.2, 10.2.4, 10.2.5, 10.3.0, 10.4.0, 9.9.3, 10.5.0, 10.5.1, 10.5.2, 10.6.0, 10.7.0, 10.8.0, 10.8.1, 10.8.2, 10.8.3, 10.9.0]
Recommendation: Update to version 10.9.0.

npm Token Leak in npm

Published date: 2018-07-31T22:58:35Z
CVE: CVE-2016-3956
Links:

Affected versions of the npm package include the bearer token of the logged in user in every request made by the CLI, even if the request is not directed towards the user's active registry.

An attacker could create an HTTP server to collect tokens, and by various means including but not limited to install scripts, cause the npm CLI to make a request to that server, which would compromise the user's token.

This compromised token could be used to do anything that the user could do, including publishing new packages.

Recommendation

  1. Update npm with npm install npm@latest -g
  2. Revoke your Tokens
  3. Enable Two-Factor Authentication

Affected versions: ["3.0.0", "3.1.0", "3.1.1", "3.1.2", "3.1.3", "3.2.0", "3.2.1", "3.2.2", "3.3.0", "3.3.1", "3.3.2", "3.3.3", "3.3.4", "3.3.5", "3.3.6", "3.3.7", "3.3.8", "3.3.9", "3.3.10", "3.3.11", "3.3.12", "3.4.0", "3.4.1", "3.5.0", "3.5.1", "3.5.2", "3.5.3", "3.5.4", "3.6.0", "3.7.0", "3.7.1", "3.7.2", "3.7.3", "3.7.4", "3.7.5", "3.8.0", "3.8.1", "3.8.2", "1.1.25", "1.2.32", "1.3.2", "1.3.4", "1.2.20", "1.2.21", "1.2.22", "1.2.23", "1.2.24", "1.2.25", "1.2.27", "1.2.28", "1.2.30", "1.2.31", "1.3.0", "1.3.1", "1.2.19", "1.1.70", "1.1.71", "1.3.5", "1.3.6", "1.3.7", "1.3.8", "1.3.9", "1.3.10", "1.3.11", "1.3.12", "1.3.13", "1.3.14", "1.3.15", "1.3.16", "1.3.17", "1.3.18", "1.3.20", "1.3.21", "1.3.22", "1.3.23", "1.3.24", "1.3.25", "1.3.26", "1.4.0", "1.4.1", "1.4.2", "1.4.3", "1.4.4", "1.4.5", "1.4.6", "1.4.7", "1.4.8", "1.4.9", "1.4.10", "1.4.11", "1.4.12", "1.4.13", "1.4.14", "1.4.15", "1.4.16", "1.2.8000", "1.4.17", "1.4.18", "1.4.19", "1.5.0-alpha-0", "1.5.0-alpha-1", "1.4.20", "1.5.0-alpha-2", "1.4.21", "1.5.0-alpha-3", "1.5.0-alpha-4", "2.0.0-alpha-5", "1.4.22", "1.4.23", "2.0.0-alpha.6.0", "1.4.24", "2.0.0-alpha.6", "2.0.0-alpha.7", "2.0.0-beta.0", "1.4.25", "2.0.0-beta.1", "1.4.26", "2.0.0-beta.2", "1.4.27", "2.0.0-beta.3", "1.4.28", "2.0.0", "2.0.1", "2.0.2", "2.1.0", "2.1.1", "2.1.2", "2.1.3", "2.1.4", "2.1.5", "2.1.6", "2.1.7", "2.1.8", "2.1.9", "2.1.10", "2.1.11", "2.1.12", "2.1.13", "2.1.14", "2.1.15", "2.1.16", "2.1.17", "2.1.18", "2.2.0", "2.3.0", "2.4.0", "2.4.1", "2.5.0", "2.5.1", "2.6.0", "2.6.1", "2.7.0", "2.7.1", "2.7.2", "2.7.3", "2.7.4", "2.7.5", "2.7.6", "2.8.0", "2.8.1", "2.8.2", "2.8.3", "2.8.4", "2.9.0", "2.9.1", "2.10.0", "2.10.1", "2.11.0", "2.11.1", "2.11.2", "2.11.3", "2.12.0", "2.12.1", "2.13.0", "2.13.1", "2.13.2", "2.13.3", "2.13.4", "2.13.5", "2.14.0", "2.14.1", "2.14.2", "2.14.3", "2.14.4", "2.14.5", "2.14.6", "2.14.7", "2.14.8", "2.14.9", "1.4.29", "2.14.10", "2.14.11", "2.14.12", "2.14.13", "2.14.14", "2.14.15", "2.14.16", "2.14.17", "2.14.18", "2.14.19", "2.14.20", "2.14.21", "2.14.22", "2.15.0"]
Secure versions: [6.14.6, 6.14.7, 7.0.0-beta.0, 7.0.0-beta.1, 7.0.0-beta.2, 7.0.0-beta.3, 7.0.0-beta.4, 6.14.8, 7.0.0-beta.5, 7.0.0-beta.6, 7.0.0-beta.7, 7.0.0-beta.8, 7.0.0-beta.9, 7.0.0-beta.10, 7.0.0-beta.11, 7.0.0-beta.12, 7.0.0-beta.13, 7.0.0-rc.0, 7.0.0-rc.1, 7.0.0-rc.2, 7.0.0-rc.3, 7.0.0-rc.4, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 7.0.9, 7.0.10, 7.0.11, 7.0.12, 7.0.13, 6.14.9, 7.0.14, 7.0.15, 7.1.0, 7.1.1, 7.1.2, 7.2.0, 6.14.10, 7.3.0, 7.4.0, 6.14.11, 7.4.1, 7.4.2, 7.4.3, 7.5.0, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.6, 7.6.0, 7.6.1, 7.6.2, 7.6.3, 7.7.0, 7.7.1, 7.7.2, 7.7.3, 7.7.4, 6.14.12, 7.7.5, 7.7.6, 7.8.0, 6.14.13, 6.14.14, 6.14.15, 6.14.16, 6.14.17, 8.11.0, 8.12.0, 8.12.1, 8.12.2, 8.13.0, 8.13.1, 8.13.2, 8.14.0, 8.15.0, 8.15.1, 8.16.0, 8.17.0, 8.18.0, 8.19.0, 8.19.1, 9.0.0-pre.0, 8.19.2, 9.0.0-pre.1, 9.0.0-pre.2, 9.0.0-pre.3, 9.0.0-pre.4, 9.0.0-pre.5, 9.0.0-pre.6, 9.0.0, 9.0.1, 9.1.0, 8.19.3, 9.1.1, 9.1.2, 9.1.3, 9.2.0, 6.14.18, 9.3.0, 9.3.1, 9.4.0, 9.4.1, 9.4.2, 8.19.4, 9.5.0, 9.5.1, 9.6.0, 9.6.1, 9.6.2, 9.6.3, 9.6.4, 9.6.5, 9.6.6, 9.6.7, 9.7.0, 9.7.1, 9.7.2, 9.8.0, 9.8.1, 10.0.0-pre.0, 10.0.0-pre.1, 10.0.0, 10.1.0, 10.2.0, 9.9.0, 10.2.1, 10.2.2, 10.2.3, 9.9.1, 9.9.2, 10.2.4, 10.2.5, 10.3.0, 10.4.0, 9.9.3, 10.5.0, 10.5.1, 10.5.2, 10.6.0, 10.7.0, 10.8.0, 10.8.1, 10.8.2, 10.8.3, 10.9.0]
Recommendation: Update to version 10.9.0.

Arbitrary File Write in npm

Published date: 2019-12-13T15:39:19Z
CVE: CVE-2019-16775
Links:

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.

Affected versions: ["1.1.25", "1.2.32", "1.3.2", "1.3.4", "1.2.20", "1.2.21", "1.2.22", "1.2.23", "1.2.24", "1.2.25", "1.2.27", "1.2.28", "1.2.30", "1.2.31", "1.3.0", "1.3.1", "1.2.19", "1.1.70", "1.1.71", "1.3.5", "1.3.6", "1.3.7", "1.3.8", "1.3.9", "1.3.10", "1.3.11", "1.3.12", "1.3.13", "1.3.14", "1.3.15", "1.3.16", "1.3.17", "1.3.18", "1.3.20", "1.3.21", "1.3.22", "1.3.23", "1.3.24", "1.3.25", "1.3.26", "1.4.0", "1.4.1", "1.4.2", "1.4.3", "1.4.4", "1.4.5", "1.4.6", "1.4.7", "1.4.8", "1.4.9", "1.4.10", "1.4.11", "1.4.12", "1.4.13", "1.4.14", "1.4.15", "1.4.16", "1.2.8000", "1.4.17", "1.4.18", "1.4.19", "1.5.0-alpha-0", "1.5.0-alpha-1", "1.4.20", "1.5.0-alpha-2", "1.4.21", "1.5.0-alpha-3", "1.5.0-alpha-4", "2.0.0-alpha-5", "1.4.22", "1.4.23", "2.0.0-alpha.6.0", "1.4.24", "2.0.0-alpha.6", "2.0.0-alpha.7", "2.0.0-beta.0", "1.4.25", "2.0.0-beta.1", "1.4.26", "2.0.0-beta.2", "1.4.27", "2.0.0-beta.3", "1.4.28", "2.0.0", "2.0.1", "2.0.2", "2.1.0", "2.1.1", "2.1.2", "2.1.3", "2.1.4", "2.1.5", "2.1.6", "2.1.7", "2.1.8", "2.1.9", "2.1.10", "2.1.11", "2.1.12", "2.1.13", "2.1.14", "2.1.15", "2.1.16", "2.1.17", "2.1.18", "2.2.0", "2.3.0", "2.4.0", "2.4.1", "2.5.0", "2.5.1", "2.6.0", "2.6.1", "2.7.0", "2.7.1", "2.7.2", "2.7.3", "2.7.4", "2.7.5", "2.7.6", "2.8.0", "2.8.1", "2.8.2", "2.8.3", "2.8.4", "2.9.0", "2.9.1", "2.10.0", "2.10.1", "2.11.0", "2.11.1", "2.11.2", "2.11.3", "2.12.0", "3.0.0", "2.12.1", "2.13.0", "3.1.0", "2.13.1", "3.1.1", "3.1.2", "2.13.2", "3.1.3", "2.13.3", "3.2.0", "2.13.4", "3.2.1", "2.13.5", "3.2.2", "2.14.0", "3.3.0", "2.14.1", "2.14.2", "3.3.1", "2.14.3", "3.3.2", "2.14.4", "3.3.3", "2.14.5", "3.3.4", "2.14.6", "3.3.5", "3.3.6", "2.14.7", "2.14.8", "3.3.7", "3.3.8", "3.3.9", "3.3.10", "2.14.9", "3.3.11", "1.4.29", "3.3.12", "2.14.10", "3.4.0", "3.4.1", "2.14.11", "2.14.12", "3.5.0", "3.5.1", "2.14.13", "2.14.14", "3.5.2", "2.14.15", "3.5.3", "3.5.4", "3.6.0", "2.14.16", "2.14.17", "3.7.0", "3.7.1", "3.7.2", "2.14.18", "3.7.3", "2.14.19", "2.14.20", "3.7.4", "3.7.5", "2.14.21", "3.8.0", "2.14.22", "3.8.1", "3.8.2", "2.15.0", "2.15.1", "3.8.3", "2.15.2", "3.8.4", "3.8.5", "3.8.6", "2.15.3", "3.8.7", "2.15.4", "3.8.8", "3.8.9", "2.15.5", "3.9.0", "3.9.1", "2.15.6", "3.9.2", "3.9.3", "3.9.4", "3.9.5", "3.9.6", "3.10.0", "2.15.7", "3.10.1", "2.15.8", "3.10.2", "3.10.3", "3.10.4", "2.15.9", "3.10.5", "3.10.6", "3.10.7", "2.15.10", "3.10.8", "2.15.11", "3.10.9", "4.0.0", "4.0.1", "4.0.2", "3.10.10", "4.0.3", "4.0.5", "4.1.0", "4.1.1", "4.1.2", "4.2.0", "4.3.0", "4.4.0", "4.4.1", "4.4.2", "4.4.3", "4.4.4", "4.5.0", "2.15.12", "4.6.0", "4.6.1", "5.0.0", "5.0.1", "5.0.2", "5.0.3", "5.0.4", "5.1.0", "5.2.0", "5.3.0", "5.4.0", "5.4.1", "5.4.2", "5.5.0", "5.5.1", "5.6.0", "5.7.0", "5.7.1", "5.8.0-next.0", "5.8.0", "6.0.0-next.0", "5.9.0-next.0", "5.10.0-next.0", "6.0.0-next.1", "6.0.0-next.2", "6.0.0", "6.0.1-next.0", "5.10.0-next.1", "6.0.1", "5.10.0", "6.1.0-next.0", "6.1.0", "6.2.0-next.0", "6.2.0-next.1", "6.2.0", "6.3.0-next.0", "6.3.0", "6.4.0-next.0", "6.4.0", "6.4.1-next.0", "6.4.1", "6.5.0-next.0", "6.5.0", "6.6.0-next.0", "6.6.0-next.1", "6.6.0", "6.7.0", "6.8.0-next.0", "6.8.0-next.1", "6.8.0-next.2", "6.8.0", "6.9.0-next.0", "6.9.0", "6.9.1-next.0", "6.9.2", "6.10.0-next.0", "6.10.0", "6.10.1-next.0", "6.10.1-next.1", "6.10.1-next.2", "6.10.1", "6.10.2-next.0", "6.10.2-next.1", "6.10.2-next.2", "6.10.2-next.3", "6.10.2", "6.10.3", "6.11.0", "6.11.1", "6.11.2", "6.11.3", "6.12.0-next.0", "6.12.0", "6.12.1", "6.13.0", "6.13.1", "6.13.2"]
Secure versions: [6.14.6, 6.14.7, 7.0.0-beta.0, 7.0.0-beta.1, 7.0.0-beta.2, 7.0.0-beta.3, 7.0.0-beta.4, 6.14.8, 7.0.0-beta.5, 7.0.0-beta.6, 7.0.0-beta.7, 7.0.0-beta.8, 7.0.0-beta.9, 7.0.0-beta.10, 7.0.0-beta.11, 7.0.0-beta.12, 7.0.0-beta.13, 7.0.0-rc.0, 7.0.0-rc.1, 7.0.0-rc.2, 7.0.0-rc.3, 7.0.0-rc.4, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 7.0.9, 7.0.10, 7.0.11, 7.0.12, 7.0.13, 6.14.9, 7.0.14, 7.0.15, 7.1.0, 7.1.1, 7.1.2, 7.2.0, 6.14.10, 7.3.0, 7.4.0, 6.14.11, 7.4.1, 7.4.2, 7.4.3, 7.5.0, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.6, 7.6.0, 7.6.1, 7.6.2, 7.6.3, 7.7.0, 7.7.1, 7.7.2, 7.7.3, 7.7.4, 6.14.12, 7.7.5, 7.7.6, 7.8.0, 6.14.13, 6.14.14, 6.14.15, 6.14.16, 6.14.17, 8.11.0, 8.12.0, 8.12.1, 8.12.2, 8.13.0, 8.13.1, 8.13.2, 8.14.0, 8.15.0, 8.15.1, 8.16.0, 8.17.0, 8.18.0, 8.19.0, 8.19.1, 9.0.0-pre.0, 8.19.2, 9.0.0-pre.1, 9.0.0-pre.2, 9.0.0-pre.3, 9.0.0-pre.4, 9.0.0-pre.5, 9.0.0-pre.6, 9.0.0, 9.0.1, 9.1.0, 8.19.3, 9.1.1, 9.1.2, 9.1.3, 9.2.0, 6.14.18, 9.3.0, 9.3.1, 9.4.0, 9.4.1, 9.4.2, 8.19.4, 9.5.0, 9.5.1, 9.6.0, 9.6.1, 9.6.2, 9.6.3, 9.6.4, 9.6.5, 9.6.6, 9.6.7, 9.7.0, 9.7.1, 9.7.2, 9.8.0, 9.8.1, 10.0.0-pre.0, 10.0.0-pre.1, 10.0.0, 10.1.0, 10.2.0, 9.9.0, 10.2.1, 10.2.2, 10.2.3, 9.9.1, 9.9.2, 10.2.4, 10.2.5, 10.3.0, 10.4.0, 9.9.3, 10.5.0, 10.5.1, 10.5.2, 10.6.0, 10.7.0, 10.8.0, 10.8.1, 10.8.2, 10.8.3, 10.9.0]
Recommendation: Update to version 10.9.0.

Incorrect Permission Assignment for Critical Resource in NPM

Published date: 2022-05-13T01:53:21Z
CVE: CVE-2018-7408
Links:

An issue was discovered in an npm 5.7.0 2018-02-21 pre-release (marked as next: 5.7.0 and therefore automatically installed by an npm upgrade -g npm command, and also announced in the vendor's blog without mention of pre-release status). It might allow local users to bypass intended filesystem access restrictions because ownerships of /etc and /usr directories are being changed unexpectedly, related to a correctMkdir issue.

Affected versions: ["1.1.25", "1.2.32", "1.3.2", "1.3.4", "1.2.20", "1.2.21", "1.2.22", "1.2.23", "1.2.24", "1.2.25", "1.2.27", "1.2.28", "1.2.30", "1.2.31", "1.3.0", "1.3.1", "1.2.19", "1.1.70", "1.1.71", "1.3.5", "1.3.6", "1.3.7", "1.3.8", "1.3.9", "1.3.10", "1.3.11", "1.3.12", "1.3.13", "1.3.14", "1.3.15", "1.3.16", "1.3.17", "1.3.18", "1.3.20", "1.3.21", "1.3.22", "1.3.23", "1.3.24", "1.3.25", "1.3.26", "1.4.0", "1.4.1", "1.4.2", "1.4.3", "1.4.4", "1.4.5", "1.4.6", "1.4.7", "1.4.8", "1.4.9", "1.4.10", "1.4.11", "1.4.12", "1.4.13", "1.4.14", "1.4.15", "1.4.16", "1.2.8000", "1.4.17", "1.4.18", "1.4.19", "1.5.0-alpha-0", "1.5.0-alpha-1", "1.4.20", "1.5.0-alpha-2", "1.4.21", "1.5.0-alpha-3", "1.5.0-alpha-4", "2.0.0-alpha-5", "1.4.22", "1.4.23", "2.0.0-alpha.6.0", "1.4.24", "2.0.0-alpha.6", "2.0.0-alpha.7", "2.0.0-beta.0", "1.4.25", "2.0.0-beta.1", "1.4.26", "2.0.0-beta.2", "1.4.27", "2.0.0-beta.3", "1.4.28", "2.0.0", "2.0.1", "2.0.2", "2.1.0", "2.1.1", "2.1.2", "2.1.3", "2.1.4", "2.1.5", "2.1.6", "2.1.7", "2.1.8", "2.1.9", "2.1.10", "2.1.11", "2.1.12", "2.1.13", "2.1.14", "2.1.15", "2.1.16", "2.1.17", "2.1.18", "2.2.0", "2.3.0", "2.4.0", "2.4.1", "2.5.0", "2.5.1", "2.6.0", "2.6.1", "2.7.0", "2.7.1", "2.7.2", "2.7.3", "2.7.4", "2.7.5", "2.7.6", "2.8.0", "2.8.1", "2.8.2", "2.8.3", "2.8.4", "2.9.0", "2.9.1", "2.10.0", "2.10.1", "2.11.0", "2.11.1", "2.11.2", "2.11.3", "2.12.0", "3.0.0", "2.12.1", "2.13.0", "3.1.0", "2.13.1", "3.1.1", "3.1.2", "2.13.2", "3.1.3", "2.13.3", "3.2.0", "2.13.4", "3.2.1", "2.13.5", "3.2.2", "2.14.0", "3.3.0", "2.14.1", "2.14.2", "3.3.1", "2.14.3", "3.3.2", "2.14.4", "3.3.3", "2.14.5", "3.3.4", "2.14.6", "3.3.5", "3.3.6", "2.14.7", "2.14.8", "3.3.7", "3.3.8", "3.3.9", "3.3.10", "2.14.9", "3.3.11", "1.4.29", "3.3.12", "2.14.10", "3.4.0", "3.4.1", "2.14.11", "2.14.12", "3.5.0", "3.5.1", "2.14.13", "2.14.14", "3.5.2", "2.14.15", "3.5.3", "3.5.4", "3.6.0", "2.14.16", "2.14.17", "3.7.0", "3.7.1", "3.7.2", "2.14.18", "3.7.3", "2.14.19", "2.14.20", "3.7.4", "3.7.5", "2.14.21", "3.8.0", "2.14.22", "3.8.1", "3.8.2", "2.15.0", "2.15.1", "3.8.3", "2.15.2", "3.8.4", "3.8.5", "3.8.6", "2.15.3", "3.8.7", "2.15.4", "3.8.8", "3.8.9", "2.15.5", "3.9.0", "3.9.1", "2.15.6", "3.9.2", "3.9.3", "3.9.4", "3.9.5", "3.9.6", "3.10.0", "2.15.7", "3.10.1", "2.15.8", "3.10.2", "3.10.3", "3.10.4", "2.15.9", "3.10.5", "3.10.6", "3.10.7", "2.15.10", "3.10.8", "2.15.11", "3.10.9", "4.0.0", "4.0.1", "4.0.2", "3.10.10", "4.0.3", "4.0.5", "4.1.0", "4.1.1", "4.1.2", "4.2.0", "4.3.0", "4.4.0", "4.4.1", "4.4.2", "4.4.3", "4.4.4", "4.5.0", "2.15.12", "4.6.0", "4.6.1", "5.0.0", "5.0.1", "5.0.2", "5.0.3", "5.0.4", "5.1.0", "5.2.0", "5.3.0", "5.4.0", "5.4.1", "5.4.2", "5.5.0", "5.5.1", "5.6.0", "5.7.0"]
Secure versions: [6.14.6, 6.14.7, 7.0.0-beta.0, 7.0.0-beta.1, 7.0.0-beta.2, 7.0.0-beta.3, 7.0.0-beta.4, 6.14.8, 7.0.0-beta.5, 7.0.0-beta.6, 7.0.0-beta.7, 7.0.0-beta.8, 7.0.0-beta.9, 7.0.0-beta.10, 7.0.0-beta.11, 7.0.0-beta.12, 7.0.0-beta.13, 7.0.0-rc.0, 7.0.0-rc.1, 7.0.0-rc.2, 7.0.0-rc.3, 7.0.0-rc.4, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 7.0.9, 7.0.10, 7.0.11, 7.0.12, 7.0.13, 6.14.9, 7.0.14, 7.0.15, 7.1.0, 7.1.1, 7.1.2, 7.2.0, 6.14.10, 7.3.0, 7.4.0, 6.14.11, 7.4.1, 7.4.2, 7.4.3, 7.5.0, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.6, 7.6.0, 7.6.1, 7.6.2, 7.6.3, 7.7.0, 7.7.1, 7.7.2, 7.7.3, 7.7.4, 6.14.12, 7.7.5, 7.7.6, 7.8.0, 6.14.13, 6.14.14, 6.14.15, 6.14.16, 6.14.17, 8.11.0, 8.12.0, 8.12.1, 8.12.2, 8.13.0, 8.13.1, 8.13.2, 8.14.0, 8.15.0, 8.15.1, 8.16.0, 8.17.0, 8.18.0, 8.19.0, 8.19.1, 9.0.0-pre.0, 8.19.2, 9.0.0-pre.1, 9.0.0-pre.2, 9.0.0-pre.3, 9.0.0-pre.4, 9.0.0-pre.5, 9.0.0-pre.6, 9.0.0, 9.0.1, 9.1.0, 8.19.3, 9.1.1, 9.1.2, 9.1.3, 9.2.0, 6.14.18, 9.3.0, 9.3.1, 9.4.0, 9.4.1, 9.4.2, 8.19.4, 9.5.0, 9.5.1, 9.6.0, 9.6.1, 9.6.2, 9.6.3, 9.6.4, 9.6.5, 9.6.6, 9.6.7, 9.7.0, 9.7.1, 9.7.2, 9.8.0, 9.8.1, 10.0.0-pre.0, 10.0.0-pre.1, 10.0.0, 10.1.0, 10.2.0, 9.9.0, 10.2.1, 10.2.2, 10.2.3, 9.9.1, 9.9.2, 10.2.4, 10.2.5, 10.3.0, 10.4.0, 9.9.3, 10.5.0, 10.5.1, 10.5.2, 10.6.0, 10.7.0, 10.8.0, 10.8.1, 10.8.2, 10.8.3, 10.9.0]
Recommendation: Update to version 10.9.0.

npm symlink reference outside of node_modules

Published date: 2019-12-13T15:39:26Z
CVE: CVE-2019-16776
Links:

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 thebinfield 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 thenpm 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.

Affected versions: ["1.1.25", "1.2.32", "1.3.2", "1.3.4", "1.2.20", "1.2.21", "1.2.22", "1.2.23", "1.2.24", "1.2.25", "1.2.27", "1.2.28", "1.2.30", "1.2.31", "1.3.0", "1.3.1", "1.2.19", "1.1.70", "1.1.71", "1.3.5", "1.3.6", "1.3.7", "1.3.8", "1.3.9", "1.3.10", "1.3.11", "1.3.12", "1.3.13", "1.3.14", "1.3.15", "1.3.16", "1.3.17", "1.3.18", "1.3.20", "1.3.21", "1.3.22", "1.3.23", "1.3.24", "1.3.25", "1.3.26", "1.4.0", "1.4.1", "1.4.2", "1.4.3", "1.4.4", "1.4.5", "1.4.6", "1.4.7", "1.4.8", "1.4.9", "1.4.10", "1.4.11", "1.4.12", "1.4.13", "1.4.14", "1.4.15", "1.4.16", "1.2.8000", "1.4.17", "1.4.18", "1.4.19", "1.5.0-alpha-0", "1.5.0-alpha-1", "1.4.20", "1.5.0-alpha-2", "1.4.21", "1.5.0-alpha-3", "1.5.0-alpha-4", "2.0.0-alpha-5", "1.4.22", "1.4.23", "2.0.0-alpha.6.0", "1.4.24", "2.0.0-alpha.6", "2.0.0-alpha.7", "2.0.0-beta.0", "1.4.25", "2.0.0-beta.1", "1.4.26", "2.0.0-beta.2", "1.4.27", "2.0.0-beta.3", "1.4.28", "2.0.0", "2.0.1", "2.0.2", "2.1.0", "2.1.1", "2.1.2", "2.1.3", "2.1.4", "2.1.5", "2.1.6", "2.1.7", "2.1.8", "2.1.9", "2.1.10", "2.1.11", "2.1.12", "2.1.13", "2.1.14", "2.1.15", "2.1.16", "2.1.17", "2.1.18", "2.2.0", "2.3.0", "2.4.0", "2.4.1", "2.5.0", "2.5.1", "2.6.0", "2.6.1", "2.7.0", "2.7.1", "2.7.2", "2.7.3", "2.7.4", "2.7.5", "2.7.6", "2.8.0", "2.8.1", "2.8.2", "2.8.3", "2.8.4", "2.9.0", "2.9.1", "2.10.0", "2.10.1", "2.11.0", "2.11.1", "2.11.2", "2.11.3", "2.12.0", "3.0.0", "2.12.1", "2.13.0", "3.1.0", "2.13.1", "3.1.1", "3.1.2", "2.13.2", "3.1.3", "2.13.3", "3.2.0", "2.13.4", "3.2.1", "2.13.5", "3.2.2", "2.14.0", "3.3.0", "2.14.1", "2.14.2", "3.3.1", "2.14.3", "3.3.2", "2.14.4", "3.3.3", "2.14.5", "3.3.4", "2.14.6", "3.3.5", "3.3.6", "2.14.7", "2.14.8", "3.3.7", "3.3.8", "3.3.9", "3.3.10", "2.14.9", "3.3.11", "1.4.29", "3.3.12", "2.14.10", "3.4.0", "3.4.1", "2.14.11", "2.14.12", "3.5.0", "3.5.1", "2.14.13", "2.14.14", "3.5.2", "2.14.15", "3.5.3", "3.5.4", "3.6.0", "2.14.16", "2.14.17", "3.7.0", "3.7.1", "3.7.2", "2.14.18", "3.7.3", "2.14.19", "2.14.20", "3.7.4", "3.7.5", "2.14.21", "3.8.0", "2.14.22", "3.8.1", "3.8.2", "2.15.0", "2.15.1", "3.8.3", "2.15.2", "3.8.4", "3.8.5", "3.8.6", "2.15.3", "3.8.7", "2.15.4", "3.8.8", "3.8.9", "2.15.5", "3.9.0", "3.9.1", "2.15.6", "3.9.2", "3.9.3", "3.9.4", "3.9.5", "3.9.6", "3.10.0", "2.15.7", "3.10.1", "2.15.8", "3.10.2", "3.10.3", "3.10.4", "2.15.9", "3.10.5", "3.10.6", "3.10.7", "2.15.10", "3.10.8", "2.15.11", "3.10.9", "4.0.0", "4.0.1", "4.0.2", "3.10.10", "4.0.3", "4.0.5", "4.1.0", "4.1.1", "4.1.2", "4.2.0", "4.3.0", "4.4.0", "4.4.1", "4.4.2", "4.4.3", "4.4.4", "4.5.0", "2.15.12", "4.6.0", "4.6.1", "5.0.0", "5.0.1", "5.0.2", "5.0.3", "5.0.4", "5.1.0", "5.2.0", "5.3.0", "5.4.0", "5.4.1", "5.4.2", "5.5.0", "5.5.1", "5.6.0", "5.7.0", "5.7.1", "5.8.0-next.0", "5.8.0", "6.0.0-next.0", "5.9.0-next.0", "5.10.0-next.0", "6.0.0-next.1", "6.0.0-next.2", "6.0.0", "6.0.1-next.0", "5.10.0-next.1", "6.0.1", "5.10.0", "6.1.0-next.0", "6.1.0", "6.2.0-next.0", "6.2.0-next.1", "6.2.0", "6.3.0-next.0", "6.3.0", "6.4.0-next.0", "6.4.0", "6.4.1-next.0", "6.4.1", "6.5.0-next.0", "6.5.0", "6.6.0-next.0", "6.6.0-next.1", "6.6.0", "6.7.0", "6.8.0-next.0", "6.8.0-next.1", "6.8.0-next.2", "6.8.0", "6.9.0-next.0", "6.9.0", "6.9.1-next.0", "6.9.2", "6.10.0-next.0", "6.10.0", "6.10.1-next.0", "6.10.1-next.1", "6.10.1-next.2", "6.10.1", "6.10.2-next.0", "6.10.2-next.1", "6.10.2-next.2", "6.10.2-next.3", "6.10.2", "6.10.3", "6.11.0", "6.11.1", "6.11.2", "6.11.3", "6.12.0-next.0", "6.12.0", "6.12.1", "6.13.0", "6.13.1", "6.13.2"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.0, 9.8.1, 10.0.0-pre.0, 10.0.0-pre.1, 10.0.0, 10.1.0, 10.2.0, 9.9.0, 10.2.1, 10.2.2, 10.2.3, 9.9.1, 9.9.2, 10.2.4, 10.2.5, 10.3.0, 10.4.0, 9.9.3, 10.5.0, 10.5.1, 10.5.2, 10.6.0, 10.7.0, 10.8.0, 10.8.1, 10.8.2, 10.8.3, 10.9.0]
Recommendation: Update to version 10.9.0.

npm Token Leak

Published date: 2016-04-18
CVEs: ["CVE-2016-3956"]
CVSS Score: 6.8
CVSS Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Coordinating vendor: ^Lift Security
Links:

The primary npm registry has, since late 2014, used HTTP bearer tokens to authenticate requests from the npm command-line interface. Due to a design flaw in the CLI, these bearer tokens were sent with every request made by the CLI for logged-in users, regardless of the destination of the request. They should instead only be included for requests made against the registry or registries used for the current install.

This flaw allows an attacker to set up an HTTP server that could collect authentication information they could use to impersonate the users whose tokens they collected. This impersonation would allow them to do anything the compromised users could do, including publishing new versions of packages.

Affected versions: ["1.1.25", "1.2.32", "1.3.2", "1.3.4", "1.2.20", "1.2.21", "1.2.22", "1.2.23", "1.2.24", "1.2.25", "1.2.27", "1.2.28", "1.2.30", "1.2.31", "1.3.0", "1.3.1", "1.2.19", "1.1.70", "1.1.71", "1.3.5", "1.3.6", "1.3.7", "1.3.8", "1.3.9", "1.3.10", "1.3.11", "1.3.12", "1.3.13", "1.3.14", "1.3.15", "1.3.16", "1.3.17", "1.3.18", "1.3.20", "1.3.21", "1.3.22", "1.3.23", "1.3.24", "1.3.25", "1.3.26", "1.4.0", "1.4.1", "1.4.2", "1.4.3", "1.4.4", "1.4.5", "1.4.6", "1.4.7", "1.4.8", "1.4.9", "1.4.10", "1.4.11", "1.4.12", "1.4.13", "1.4.14", "1.4.15", "1.4.16", "1.2.8000", "1.4.17", "1.4.18", "1.4.19", "1.5.0-alpha-0", "1.5.0-alpha-1", "1.4.20", "1.5.0-alpha-2", "1.4.21", "1.5.0-alpha-3", "1.5.0-alpha-4", "2.0.0-alpha-5", "1.4.22", "1.4.23", "2.0.0-alpha.6.0", "1.4.24", "2.0.0-alpha.6", "2.0.0-alpha.7", "2.0.0-beta.0", "1.4.25", "2.0.0-beta.1", "1.4.26", "2.0.0-beta.2", "1.4.27", "2.0.0-beta.3", "1.4.28", "2.0.0", "2.0.1", "2.0.2", "2.1.0", "2.1.1", "2.1.2", "2.1.3", "2.1.4", "2.1.5", "2.1.6", "2.1.7", "2.1.8", "2.1.9", "2.1.10", "2.1.11", "2.1.12", "2.1.13", "2.1.14", "2.1.15", "2.1.16", "2.1.17", "2.1.18", "2.2.0", "2.3.0", "2.4.0", "2.4.1", "2.5.0", "2.5.1", "2.6.0", "2.6.1", "2.7.0", "2.7.1", "2.7.2", "2.7.3", "2.7.4", "2.7.5", "2.7.6", "2.8.0", "2.8.1", "2.8.2", "2.8.3", "2.8.4", "2.9.0", "2.9.1", "2.10.0", "2.10.1", "2.11.0", "2.11.1", "2.11.2", "2.11.3", "2.12.0", "2.12.1", "2.13.0", "2.13.1", "2.13.2", "2.13.3", "2.13.4", "2.13.5", "2.14.0", "2.14.1", "2.14.2", "2.14.3", "2.14.4", "2.14.5", "2.14.6", "2.14.7", "2.14.8", "2.14.9", "1.4.29", "2.14.10", "2.14.11", "2.14.12", "2.14.13", "2.14.14", "2.14.15", "2.14.16", "2.14.17", "2.14.18", "2.14.19", "2.14.20", "2.14.21", "2.14.22", "2.15.0", "3.1.0", "3.1.1", "3.1.2", "3.1.3", "3.2.0", "3.2.1", "3.2.2", "3.3.0", "3.3.1", "3.3.2", "3.3.3", "3.3.4", "3.3.5", "3.3.6", "3.3.7", "3.3.8", "3.3.9", "3.3.10", "3.3.11", "3.3.12", "3.4.0", "3.4.1", "3.5.0", "3.5.1", "3.5.2", "3.5.3", "3.5.4", "3.6.0", "3.7.0", "3.7.1", "3.7.2", "3.7.3", "3.7.4", "3.7.5", "3.8.0", "3.8.1", "3.8.2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8.0, 9.8.1, 10.0.0-pre.0, 10.0.0-pre.1, 10.0.0, 10.1.0, 10.2.0, 9.9.0, 10.2.1, 10.2.2, 10.2.3, 9.9.1, 9.9.2, 10.2.4, 10.2.5, 10.3.0, 10.4.0, 9.9.3, 10.5.0, 10.5.1, 10.5.2, 10.6.0, 10.7.0, 10.8.0, 10.8.1, 10.8.2, 10.8.3, 10.9.0]
Recommendation: Upgrade npm itself with `npm install npm@latest -g` and [revoke your tokens](https://www.npmjs.com/settings/tokens)

553 Other Versions

Version License Security Released
4.4.1 Artistic-2.0 5 2017-03-06 - 19:18 over 7 years
4.4.0 Artistic-2.0 5 2017-02-24 - 03:56 over 7 years
4.3.0 Artistic-2.0 5 2017-02-09 - 23:53 over 7 years
4.2.0 Artistic-2.0 5 2017-01-26 - 12:51 almost 8 years
4.1.2 Artistic-2.0 5 2017-01-12 - 23:50 almost 8 years
4.1.1 Artistic-2.0 5 2016-12-16 - 19:16 almost 8 years
4.1.0 Artistic-2.0 5 2016-12-16 - 02:06 almost 8 years
4.0.5 Artistic-2.0 5 2016-12-02 - 01:30 almost 8 years
4.0.3 Artistic-2.0 5 2016-11-17 - 23:28 almost 8 years
4.0.2 Artistic-2.0 5 2016-11-04 - 02:38 almost 8 years
4.0.1 Artistic-2.0 5 2016-10-25 - 01:13 about 8 years
4.0.0 Artistic-2.0 5 2016-10-21 - 01:49 about 8 years
3.10.10 Artistic-2.0 5 2016-11-05 - 01:18 almost 8 years
3.10.9 Artistic-2.0 5 2016-10-07 - 04:38 about 8 years
3.10.8 Artistic-2.0 5 2016-09-09 - 01:25 about 8 years
3.10.7 Artistic-2.0 5 2016-08-12 - 00:58 about 8 years
3.10.6 Artistic-2.0 5 2016-07-08 - 00:26 over 8 years
3.10.5 Artistic-2.0 5 2016-07-06 - 00:49 over 8 years
3.10.4 Artistic-2.0 5 2016-06-30 - 23:05 over 8 years
3.10.3 Artistic-2.0 5 2016-06-24 - 01:02 over 8 years
3.10.2 Artistic-2.0 5 2016-06-21 - 00:19 over 8 years
3.10.1 Artistic-2.0 5 2016-06-18 - 03:10 over 8 years
3.10.0 Artistic-2.0 5 2016-06-17 - 02:33 over 8 years
3.9.6 Artistic-2.0 5 2016-06-02 - 23:58 over 8 years
3.9.5 Artistic-2.0 5 2016-05-28 - 01:54 over 8 years
3.9.4 Artistic-2.0 5 2016-05-26 - 23:07 over 8 years
3.9.3 Artistic-2.0 5 2016-05-19 - 22:01 over 8 years
3.9.2 Artistic-2.0 5 2016-05-18 - 00:56 over 8 years
3.9.1 Artistic-2.0 5 2016-05-13 - 03:16 over 8 years
3.9.0 Artistic-2.0 5 2016-05-06 - 02:04 over 8 years
3.8.9 Artistic-2.0 5 2016-04-29 - 00:56 over 8 years
3.8.8 Artistic-2.0 5 2016-04-22 - 01:23 over 8 years
3.8.7 Artistic-2.0 5 2016-04-07 - 23:59 over 8 years
3.8.6 Artistic-2.0 5 2016-04-01 - 01:50 over 8 years
3.8.5 Artistic-2.0 5 2016-03-25 - 00:17 over 8 years
3.8.4 Artistic-2.0 5 2016-03-24 - 23:56 over 8 years
3.8.3 Artistic-2.0 5 2016-03-18 - 00:52 over 8 years
3.8.2 Artistic-2.0 6 2016-03-11 - 00:57 over 8 years
3.8.1 Artistic-2.0 6 2016-03-04 - 01:44 over 8 years
3.8.0 Artistic-2.0 6 2016-02-26 - 01:46 over 8 years
3.7.5 Artistic-2.0 6 2016-02-23 - 00:58 over 8 years
3.7.4 Artistic-2.0 6 2016-02-19 - 04:06 over 8 years
3.7.3 Artistic-2.0 6 2016-02-11 - 23:31 over 8 years
3.7.2 Artistic-2.0 6 2016-02-05 - 00:17 over 8 years
3.7.1 Artistic-2.0 6 2016-02-01 - 23:33 over 8 years
3.7.0 Artistic-2.0 6 2016-01-29 - 01:51 almost 9 years
3.6.0 Artistic-2.0 6 2016-01-22 - 00:46 almost 9 years
3.5.4 Artistic-2.0 6 2016-01-08 - 00:21 almost 9 years
3.5.3 Artistic-2.0 6 2015-12-11 - 08:01 almost 9 years
3.5.2 Artistic-2.0 6 2015-12-04 - 02:49 almost 9 years
3.5.1 Artistic-2.0 6 2015-11-25 - 23:00 almost 9 years
3.5.0 Artistic-2.0 6 2015-11-20 - 03:29 almost 9 years
3.4.1 Artistic-2.0 6 2015-11-13 - 00:56 almost 9 years
3.4.0 Artistic-2.0 6 2015-11-06 - 01:40 almost 9 years
3.3.12 Artistic-2.0 6 2015-11-02 - 19:41 almost 9 years
3.3.11 Artistic-2.0 6 2015-10-30 - 01:28 about 9 years
3.3.10 Artistic-2.0 6 2015-10-22 - 23:42 about 9 years
3.3.9 Artistic-2.0 6 2015-10-16 - 00:21 about 9 years
3.3.8 Artistic-2.0 6 2015-10-12 - 17:51 about 9 years
3.3.7 Artistic-2.0 6 2015-10-09 - 00:31 about 9 years
3.3.6 Artistic-2.0 6 2015-10-01 - 18:41 about 9 years
3.3.5 Artistic-2.0 6 2015-09-24 - 23:53 about 9 years
3.3.4 Artistic-2.0 6 2015-09-17 - 23:13 about 9 years
3.3.3 Artistic-2.0 6 2015-09-11 - 00:59 about 9 years
3.3.2 Artistic-2.0 6 2015-09-03 - 23:53 about 9 years
3.3.1 Artistic-2.0 6 2015-08-28 - 00:36 about 9 years
3.3.0 Artistic-2.0 6 2015-08-14 - 20:05 about 9 years
3.2.2 Artistic-2.0 6 2015-08-08 - 06:20 about 9 years
3.2.1 Artistic-2.0 6 2015-08-01 - 03:41 over 9 years
3.2.0 Artistic-2.0 6 2015-07-25 - 03:22 over 9 years
3.1.3 Artistic-2.0 6 2015-07-18 - 05:34 over 9 years
3.1.2 Artistic-2.0 6 2015-07-13 - 20:55 over 9 years
3.1.1 Artistic-2.0 6 2015-07-10 - 09:31 over 9 years
3.1.0 Artistic-2.0 6 2015-07-03 - 04:28 over 9 years
3.0.0 Artistic-2.0 6 2015-06-26 - 01:33 over 9 years
2.15.12 Artistic-2.0 5 2017-03-27 - 20:07 over 7 years
2.15.11 Artistic-2.0 5 2016-09-09 - 02:52 about 8 years
2.15.10 Artistic-2.0 5 2016-08-12 - 01:08 about 8 years
2.15.9 Artistic-2.0 5 2016-06-30 - 23:45 over 8 years
2.15.8 Artistic-2.0 5 2016-06-18 - 03:23 over 8 years
2.15.7 Artistic-2.0 5 2016-06-17 - 03:10 over 8 years
2.15.6 Artistic-2.0 5 2016-05-13 - 04:01 over 8 years
2.15.5 Artistic-2.0 5 2016-05-06 - 01:50 over 8 years
2.15.4 Artistic-2.0 5 2016-04-21 - 23:16 over 8 years
2.15.3 Artistic-2.0 5 2016-04-01 - 02:15 over 8 years
2.15.2 Artistic-2.0 5 2016-03-24 - 22:49 over 8 years
2.15.1 Artistic-2.0 5 2016-03-18 - 00:22 over 8 years
2.15.0 Artistic-2.0 7 2016-03-11 - 01:23 over 8 years
2.14.22 Artistic-2.0 7 2016-03-04 - 00:24 over 8 years
2.14.21 Artistic-2.0 7 2016-02-26 - 00:06 over 8 years
2.14.20 Artistic-2.0 7 2016-02-19 - 00:02 over 8 years
2.14.19 Artistic-2.0 7 2016-02-11 - 23:44 over 8 years
2.14.18 Artistic-2.0 7 2016-02-05 - 01:08 over 8 years
2.14.17 Artistic-2.0 7 2016-01-29 - 01:18 almost 9 years
2.14.16 Artistic-2.0 7 2016-01-22 - 01:46 almost 9 years
2.14.15 Artistic-2.0 7 2015-12-11 - 06:48 almost 9 years
2.14.14 Artistic-2.0 7 2015-12-04 - 02:01 almost 9 years
2.14.13 Artistic-2.0 7 2015-11-25 - 23:33 almost 9 years
2.14.12 Artistic-2.0 7 2015-11-20 - 00:07 almost 9 years
2.14.11 Artistic-2.0 7 2015-11-13 - 01:27 almost 9 years