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

[Security] Bump npm from 6.12.0 to 6.13.4 #4

Merged
merged 1 commit into from
Dec 16, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Dec 16, 2019

Bumps npm from 6.12.0 to 6.13.4. This update includes security fixes.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Low severity vulnerability that affects npm

Unauthorized File Access

Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. 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.

This behavior is possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.

Thank you Daniel Ruf for responsibly reporting the issue!

Further information: npm blog post

Affected versions: < 6.13.3

Sourced from The GitHub Security Advisory Database.

Low severity vulnerability that affects npm

Arbitrary File Write

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 modify and/or gain access to arbitrary files on a user’s system when the package is installed.

This behavior is possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.

Thank you Daniel Ruf for reporting the issue!

Further information: npm blog post

Affected versions: < 6.13.3

Sourced from The GitHub Security Advisory Database.

Low severity vulnerability that affects npm

Arbitrary File Overwrite

Versions of the npm CLI prior to 6.13.4 are vulnerable to an Arbitrary File 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 previous serve binary.

This behavior is still allowed in local installations and also through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.

Thank you to Daniel Ruf for reporting the issue!

Further information: npm blog post

Affected versions: < 6.13.4

Release notes

Sourced from npm's releases.

v6.13.4

6.13.4 (2019-12-11)

BUGFIXES

DEPENDENCIES

v6.13.3

6.13.3 (2019-12-09)

DEPENDENCIES

v6.13.2

6.13.2 (2019-12-03)

BUG FIXES

v6.13.1

6.13.1 (2019-11-18)

BUG FIXES

TESTING

... (truncated)
Changelog

Sourced from npm's changelog.

6.13.4 (2019-12-11)

BUGFIXES

DEPENDENCIES

6.13.3 (2019-12-09)

DEPENDENCIES

6.13.2 (2019-12-03)

BUG FIXES

... (truncated)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added committee/product-security Denotes an issue or PR intended to be handled by the product security committee. dependencies Pull requests that update a dependency file labels Dec 16, 2019
@ouzibot ouzibot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Dec 16, 2019
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/npm-6.13.4 branch 2 times, most recently from 2fdd2ae to 9c29990 Compare December 16, 2019 10:31
Bumps [npm](https://github.com/npm/cli) from 6.12.0 to 6.13.4. **This update includes security fixes.**
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)
- [Commits](npm/cli@v6.12.0...v6.13.4)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/npm-6.13.4 branch from 9c29990 to 43b9881 Compare December 16, 2019 10:35
@belitre
Copy link
Contributor

belitre commented Dec 16, 2019

/lgtm

@ouzibot ouzibot added the lgtm Indicates that a PR is ready to be merged. label Dec 16, 2019
@ouzibot
Copy link

ouzibot commented Dec 16, 2019

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: belitre, dependabot-preview[bot]

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ouzibot ouzibot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 16, 2019
@ouzibot ouzibot merged commit de09543 into master Dec 16, 2019
@ouzibot ouzibot deleted the dependabot/npm_and_yarn/npm-6.13.4 branch December 16, 2019 10:38
@ouzibot
Copy link

ouzibot commented Apr 14, 2020

This pull request is included in version 1.0.0

@ouzibot ouzibot added the released Denotes a PR that was already included in a release label Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. committee/product-security Denotes an issue or PR intended to be handled by the product security committee. dependencies Pull requests that update a dependency file lgtm Indicates that a PR is ready to be merged. released Denotes a PR that was already included in a release size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants