build(deps): bump npm to 11.19.1 to clear pacote GHSA-w4pp-8pjf-rmxw - #1207
Draft
cursor[bot] wants to merge 1 commit into
Draft
build(deps): bump npm to 11.19.1 to clear pacote GHSA-w4pp-8pjf-rmxw#1207cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
Refreshes the transitive npm resolution (via @semantic-release/npm) from 11.16.0 to 11.19.1. The bump pulls in pacote 21.5.1, which fixes the Denial of Service via addGitSha function advisory (GHSA-w4pp-8pjf-rmxw). npm@11.19.1 still satisfies @semantic-release/npm's ^11.6.2 range, so no manifest change is required and no new resolutions entry is needed. Co-authored-by: Andreja Kogovsek <andrejak@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Refreshes the transitive
npmresolution (pulled in via@semantic-release/npm@13.1.5) from 11.16.0 → 11.19.1. That bump upgrades the nestedpacotefrom 21.5.0 → 21.5.1, which is the version that fixes GHSA-w4pp-8pjf-rmxw — pacote is vulnerable to Denial of Service (DoS) via theaddGitShafunction (High).This is the only new Dependabot advisory that appeared since the last cron run; all other outstanding advisories are already covered by existing open PRs (#1200 brace-expansion, #1201 ip-address, #1202 undici, #1203 fast-uri, #1204/#1205 js-yaml, #1206 nanoid in
examples/with-next).How
Used the standard lockfile-refresh trick (no manifest change, no new
resolutionsentry):"npm@npm:^11.6.2"and"pacote@npm:^21.0.0, ..."blocks fromyarn.lock.yarn install, letting Yarn re-resolve both ranges against the registry.npm@11.19.1(still satisfies@semantic-release/npm's^11.6.2) andpacote@21.5.1.Diff is confined to
yarn.lock(53 lines each way). Noresolutionsentry was added, per the repo's preference to avoid them.Verification
yarn npm audit --recursive --all --jsonno longer reports GHSA-w4pp-8pjf-rmxw (pacote entry gone).yarn test— 37 suites / 139 tests pass.yarn build— succeeds.Notes
npm@12.xwas intentionally not chosen because it would fall outside@semantic-release/npm's declarednpm@^11.6.2peer/dep range.