boilerplate-typescript-rest-docker icon indicating copy to clipboard operation
boilerplate-typescript-rest-docker copied to clipboard

fix(deps): update dependency npm to v6 [security]

Open renovate[bot] opened this issue 5 years ago • 0 comments

This PR contains the following updates:

Package Change Age Confidence
npm (source) ^3.10.9 -> ^6.14.6 age confidence

GitHub Vulnerability Alerts

CVE-2019-16776

Versions of the npm CLI prior to 6.13.3 are vulnerable to a symlink reference outside of node_modules. 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. 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.

CVE-2019-16775

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.

CVE-2019-16777

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.

CVE-2020-15095

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>]@&#8203;]<hostname>[:<port>][:][/]<path>. The password value is not redacted and is printed to stdout and also to any generated log files.

CVE-2018-7408

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.


Release Notes

npm/cli (npm)

v6.14.6

Compare Source

6.14.6 (2020-07-07)

BUG FIXES
DEPENDENCIES

v6.14.5

Compare Source

6.14.5 (2020-05-04)

BUG FIXES
DEPENDENCIES

v6.14.4

Compare Source

6.14.4 (2020-03-25)

DEPENDENCIES

v6.14.3

Compare Source

6.14.3 (2020-03-19)

DOCUMENTATION
DEPENDENCIES

v6.14.2

Compare Source

6.14.2 (2020-03-03)

DOCUMENTATION
DEPENDENCIES

v6.14.1

Compare Source

6.14.1 (2020-02-26)

v6.14.0

Compare Source

6.14.0 (2020-02-25)

FEATURES
BUG FIXES
DEPENDENCIES
DOCUMENTATION
MISCELLANEOUS

v6.13.7

Compare Source

6.13.7 (2020-01-28)

BUG FIXES
DEPENDENCIES

v6.13.6

Compare Source

6.13.6 (2020-01-09)

DEPENDENCIES

v6.13.5

Compare Source

6.13.5 (2020-01-09)

BUG FIXES
TESTING
DOCUMENTATION

v6.13.4

Compare Source

6.13.4 (2019-12-11)

BUGFIXES

DEPENDENCIES

v6.13.3

Compare Source

6.13.3 (2019-12-09)

DEPENDENCIES

v6.13.2

Compare Source

6.13.2 (2019-12-03)

BUG FIXES

v6.13.1

Compare Source

6.13.1 (2019-11-18)

BUG FIXES
TESTING
DOCUMENTATION
DEPENDENCIES

v6.13.0

Compare Source

6.13.0 (2019-11-05)

NEW FEATURES
DOCUMENTATION
BUG FIXES
DEPENDENCIES
TESTING

v6.12.1

Compare Source

6.12.1 (2019-10-29)

BUG FIXES
DEPENDENCIES

v6.12.0

Compare Source

6.12.0 (2019-10-08):

Now npm ci runs prepare scripts for git dependencies, and respects the --no-optional argument. Warnings for engine mismatches are printed again. Various other fixes and cleanups.

BUG FIXES
FEATURES
DEPENDENCIES
TESTING

v6.11.3

Compare Source

6.11.3 (2019-09-03):

Fix npm ci regressions and npm outdated depth.

BUG FIXES
DEPENDENCIES

v6.11.2

Compare Source

6.11.2 (2019-08-22):

Fix a recent Windows regression, and two long-standing Windows bugs. Also, get CI running on Windows, so these things are less likely in the future.

DEPENDENCIES
BUGFIXES
  • 6cc4cc66f escape args properly on Windows Bash Despite being bash, Node.js running on windows git mingw bash still executes child processes using cmd.exe. As a result, arguments in this environment need to be escaped in the style of cmd.exe, not bash. (@​isaacs)
TESTS

v6.11.1

Compare Source

6.11.1 (2019-08-20):

Fix a regression for windows command shim syntax.

v6.11.0

Compare Source

v6.11.0 (2019-08-20):

A few meaty bugfixes, and introducing peerDependenciesMeta.

FEATURES
BUGFIXES
DEPENDENCIES
TESTS

v6.10.3

Compare Source

v6.10.3 (2019-08-06):

BUGFIXES
DEPENDENCIES

v6.10.2

Compare Source

v6.10.2 (2019-07-23):

tl;dr - Fixes several issues with the cache when npm is run as sudo on Unix systems.

TESTING
BUGFIXES
DEPENDENCIES

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Dec 14 '19 23:12 renovate[bot]