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

chore(deps): update dependency npm to 8.11.0 [security] #97

Merged
merged 1 commit into from Jun 4, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 2, 2022

Mend Renovate

This PR contains the following updates:

Package Change
npm 7.24.2 -> 8.11.0

GitHub Vulnerability Alerts

CVE-2022-29244

Impact

npm pack ignores root-level .gitignore & .npmignore file exclusion directives when run in a workspace or with a workspace flag (ie. --workspaces, --workspace=<name>). Anyone who has run npm pack or npm publish with workspaces, as of v7.9.0 & v7.13.0 respectively, may be affected and have published files into the npm registry they did not intend to include.

Patch

  • Upgrade to the latest, patched version of npm (v8.11.0 or greater), run: npm i -g npm@latest
  • Node.js versions v16.15.1, v17.19.1 & v18.3.0 include the patched v8.11.0 version of npm

Steps to take to see if you're impacted

  1. Run npm publish --dry-run or npm pack with an npm version >=7.9.0 & <8.11.0 inside the project's root directory using a workspace flag like: --workspaces or --workspace=<name> (ex. npm pack --workspace=foo)
  2. Check the output in your terminal which will list the package contents (note: tar -tvf <package-on-disk> also works)
  3. If you find that there are files included you did not expect, you should:
    3.1. Create & publish a new release excluding those files (ref. "Keeping files out of your Package")
    3.2. Deprecate the old package (ex. npm deprecate <pkg>[@&#8203;<version>] <message>)
    3.3. Revoke or rotate any sensitive information (ex. passwords, tokens, secrets etc.) which might have been exposed

References


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, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the CVE label Jun 2, 2022
@kunalnagar kunalnagar merged commit 299cd4f into master Jun 4, 2022
@kunalnagar kunalnagar deleted the renovate/npm-npm-vulnerability branch June 4, 2022 01:45
github-actions bot pushed a commit that referenced this pull request Jun 4, 2022
[skip ci]

### [3.2.67](v3.2.66...v3.2.67) (2022-06-04)

### Chores

* **deps:** lock file maintenance ([#93](#93)) ([814eb0e](814eb0e))
* **deps:** update dependency grunt to 1.5.3 [security] ([#94](#94)) ([c8e2784](c8e2784))
* **deps:** update dependency grunt to v1.5.3 ([#95](#95)) ([d06f7fc](d06f7fc))
* **deps:** update dependency npm to 8.11.0 [security] ([#97](#97)) ([299cd4f](299cd4f))
* **deps:** update dependency semver-regex to 3.1.4 [security] ([#98](#98)) ([9e19670](9e19670))
@github-actions
Copy link

github-actions bot commented Jun 4, 2022

πŸŽ‰ This PR is included in version 3.2.67 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants