Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 14, 2019

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
npm (source) ^3.10.9 -> ^6.14.6 age adoption passing 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
  • 136832dca mkdirp@0.5.4
  • Bump minimist@1.2.5 transitive dep to resolve security issue
    • 9c554fd8c update-notifier@2.5.0
    • bump deep-extend@1.2.5
    • bump is-ci@1.2.1
    • bump is-retry-allowed@1.2.0
    • bump rc@1.2.8
    • bump registry-auth-token@3.4.0
    • bump widest-line@2.0.1
  • 8bf99b2b5 #​1053 deps: updates term-size to use signed binary

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)
  • 303e5c11e hosted-git-info@2.8.7 Fixes a regression where scp-style git urls are passed to the WhatWG URL parser, which does not handle them properly. (@​isaacs)

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
  • 9778a1b87 cmd-shim@3.0.3: Fix regression where shims fail to preserve exit code (@​isaacs)
  • bf93e91d8 npm-package-arg@6.1.1: Properly handle git+file: urls on Windows when a drive letter is included. (@​isaacs)
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

v6.10.1

Compare Source

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 91ffd18 to 56d053f Compare February 9, 2021 12:41
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v7 [security] Feb 9, 2021
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 56d053f to a00e013 Compare October 18, 2021 17:41
@renovate renovate bot changed the title fix(deps): update dependency npm to v7 [security] fix(deps): update dependency npm to v8 [security] Oct 18, 2021
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from a00e013 to ef44ef1 Compare November 20, 2022 15:09
@renovate renovate bot changed the title fix(deps): update dependency npm to v8 [security] fix(deps): update dependency npm to v9 [security] Nov 20, 2022
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from ef44ef1 to cc2c345 Compare March 25, 2023 03:45
@renovate renovate bot changed the title fix(deps): update dependency npm to v9 [security] fix(deps): update dependency npm to v6 [security] Mar 25, 2023
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from cc2c345 to ea28546 Compare April 3, 2023 10:17
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v9 [security] Apr 3, 2023
@renovate renovate bot changed the title fix(deps): update dependency npm to v9 [security] fix(deps): update dependency npm to v6 [security] Apr 3, 2023
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from ea28546 to 19c1f64 Compare April 3, 2023 13:52
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 19c1f64 to 34cf9d2 Compare April 17, 2023 14:05
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v9 [security] Apr 17, 2023
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 34cf9d2 to d8c28a4 Compare April 17, 2023 16:53
@renovate renovate bot changed the title fix(deps): update dependency npm to v9 [security] fix(deps): update dependency npm to v6 [security] Apr 17, 2023
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from d8c28a4 to cd32079 Compare May 28, 2023 10:21
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v9 [security] May 28, 2023
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from cd32079 to 5105921 Compare May 28, 2023 13:48
@renovate renovate bot changed the title fix(deps): update dependency npm to v9 [security] fix(deps): update dependency npm to v6 [security] May 28, 2023
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 5105921 to 26741b5 Compare June 4, 2023 10:32
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v9 [security] Jun 4, 2023
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 26741b5 to 4003c67 Compare June 4, 2023 13:46
@renovate renovate bot changed the title fix(deps): update dependency npm to v9 [security] fix(deps): update dependency npm to v6 [security] Jun 4, 2023
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 4003c67 to dd6d107 Compare June 13, 2023 15:53
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v9 [security] Jun 13, 2023
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from dd6d107 to 890726a Compare June 13, 2023 20:26
@renovate renovate bot changed the title fix(deps): update dependency npm to v9 [security] fix(deps): update dependency npm to v6 [security] Jun 13, 2023
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 890726a to 0e7caba Compare June 18, 2023 08:45
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v9 [security] Jun 18, 2023
@renovate renovate bot changed the title fix(deps): update dependency npm to v10 [security] fix(deps): update dependency npm to v6 [security] Mar 24, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from d920c70 to 23eb949 Compare April 14, 2024 08:25
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v10 [security] Apr 14, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 23eb949 to 2a856ae Compare April 14, 2024 11:22
@renovate renovate bot changed the title fix(deps): update dependency npm to v10 [security] fix(deps): update dependency npm to v6 [security] Apr 14, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 2a856ae to 8c56daf Compare April 21, 2024 11:09
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v10 [security] Apr 21, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 8c56daf to c567eee Compare April 21, 2024 12:21
@renovate renovate bot changed the title fix(deps): update dependency npm to v10 [security] fix(deps): update dependency npm to v6 [security] Apr 21, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from c567eee to ee0da5a Compare April 25, 2024 09:08
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v10 [security] Apr 25, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from ee0da5a to 94ac1d7 Compare April 25, 2024 13:50
@renovate renovate bot changed the title fix(deps): update dependency npm to v10 [security] fix(deps): update dependency npm to v6 [security] Apr 25, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 94ac1d7 to c8f28e8 Compare May 3, 2024 11:13
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v10 [security] May 3, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from c8f28e8 to 0efa369 Compare May 3, 2024 12:35
@renovate renovate bot changed the title fix(deps): update dependency npm to v10 [security] fix(deps): update dependency npm to v6 [security] May 3, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 0efa369 to 0efeb89 Compare May 9, 2024 09:11
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v10 [security] May 9, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 0efeb89 to 85ff855 Compare May 9, 2024 16:55
@renovate renovate bot changed the title fix(deps): update dependency npm to v10 [security] fix(deps): update dependency npm to v6 [security] May 9, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 85ff855 to d3a94fb Compare May 15, 2024 15:38
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v10 [security] May 15, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from d3a94fb to cad7099 Compare May 15, 2024 23:46
@renovate renovate bot changed the title fix(deps): update dependency npm to v10 [security] fix(deps): update dependency npm to v6 [security] May 15, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from cad7099 to 3d7c4ba Compare May 25, 2024 15:55
@renovate renovate bot changed the title fix(deps): update dependency npm to v6 [security] fix(deps): update dependency npm to v10 [security] May 25, 2024
@renovate renovate bot force-pushed the renovate/npm-npm-vulnerability branch from 3d7c4ba to 421e728 Compare May 25, 2024 19:31
@renovate renovate bot changed the title fix(deps): update dependency npm to v10 [security] fix(deps): update dependency npm to v6 [security] May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants