Bump concurrently to 10.0.3 to resolve shell-quote vulnerability#27554
Conversation
71e41c6 to
d74fd2f
Compare
|
Hi! Thank you for opening this PR. Want me to review it? Based on the diff (2408 lines, 143 files), I've queued these reviewers:
How this works
|
There was a problem hiding this comment.
Copilot reviewed 11 out of 22 changed files in this pull request and generated no comments.
Files not reviewed (11)
- build-tools/pnpm-lock.yaml: Generated file
- common/build/eslint-config-fluid/pnpm-lock.yaml: Generated file
- common/lib/common-utils/pnpm-lock.yaml: Generated file
- common/lib/protocol-definitions/pnpm-lock.yaml: Generated file
- pnpm-lock.yaml: Generated file
- server/gitrest/pnpm-lock.yaml: Generated file
- server/historian/pnpm-lock.yaml: Generated file
- server/routerlicious/pnpm-lock.yaml: Generated file
- tools/api-markdown-documenter/pnpm-lock.yaml: Generated file
- tools/benchmark/pnpm-lock.yaml: Generated file
- website/pnpm-lock.yaml: Generated file
Fleet Review — CleanNo issues found across the reviewer fleet for this run. |
alexvy86
left a comment
There was a problem hiding this comment.
I see some inconsistencies (not all lockfiles list the override) but that might be moot because now that the new patch version is updated in the lockfiles, it's very probable the overrides in all the pnpm-workspace.yaml files are now unnecessary. I'd be a bit surprised if something pins its shell-quote dep specifically to 1.8.3 instead of a range that will still be happy with 1.8.4. I'd prefer to keep the list of overrides clean, with only the ones that we must keep so the lockfile doesn't revert to a bad version.
d74fd2f to
f69fb54
Compare
|
Good call — I verified that I've updated the comments in each |
Ah, unfortunately true. Then my concern about the lockfiles is still valid, it seems like maybe the changes in some lockfiles were just pattern-matched and applied without actually running |
f69fb54 to
adcc9cb
Compare
|
Good catch — the pnpm-10 workspaces had their overrides in
|
alexvy86
left a comment
There was a problem hiding this comment.
Not quite sure what's up with the build failures, but the change seems correct to me
|
Without having looked in detail here, probably need to reconcile with #27556 that already merged |
adcc9cb to
a7c42ec
Compare
edf51c7 to
181e3d6
Compare
| serialize-javascript@>=6 <7: ^7.0.4 | ||
| picomatch@>=2 <3: ^2.3.2 | ||
| picomatch@>=4 <5: ^4.0.4 | ||
| shell-quote: ^1.8.4 |
There was a problem hiding this comment.
Given that there aren't actual package versions changing in many of these lock files, is the override needed (here and elsewhere)? We should generally keep the override list small for maintenance reasons unless they're needed.
|
@alexvy86 please re-approve after I fixed the build failures |
8417af9 to
3dd9042
Compare
|
Looks like |
|
I agree with Abram, now that we're on Node22, just bumping to |
I'm a bit surprised that PR didn't have weird results once merged... if |
3dd9042 to
e822ec7
Compare
|
Updated the PR to use the approach suggested by @tylerbutler — bumped |
Bump concurrently from ^9.2.1 to ^10.0.3 across all workspaces. concurrently@10.0.3 depends on shell-quote@1.8.4, resolving the command injection vulnerability in shell-quote@1.8.3. The breaking changes in concurrently v10 are minimal: - Dropped support for Node <22 (we already require Node 22) - Converted to ESM (we only use concurrently as a CLI tool) Also removes the shell-quote override from pnpm-workspace.yaml since it is no longer needed with concurrently 10.x. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
e822ec7 to
0e9ee64
Compare
|
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output |
Bundle size comparisonBase commit: Notable changesNo bundles changed by ≥ 500 bytes parsed. Per-bundle deltas
|
|
@frankmueller-msft, I don't know what happened with the merge message, but the title here "Bump concurrently to 10.0.3 to resolve shell-quote vulnerability" is much better than what was committed "Override shell-quote to ^1.8.4". |
|
I agree @jason-ha. I should have updated the merge message. |
Summary
Bumps
concurrentlyfrom^9.2.1to^10.0.3across all workspaces.concurrently@10.0.3depends onshell-quote@1.8.4, which resolves the command injection vulnerability inshell-quote@1.8.3.Approach
Per feedback from @Abe27342 and @alexvy86, this bumps to
concurrently10.x rather than patching 9.x. The breaking changes in v10 are minimal and safe for us:concurrentlyas a CLI tool)Changes:
concurrentlyspecifier from^9.2.1to^10.0.3in all package.json filesshell-quote: ^1.8.4override from rootpnpm-workspace.yaml(no longer needed)CG Alert
Resolves: https://dev.azure.com/fluidframework/internal/_componentGovernance/17385/alert/14301083