Skip to content

fix: add picomatch overrides for GHSA-c2c7-rcm5-vvqj#1446

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-picomatch-redos-vulnerability
Draft

fix: add picomatch overrides for GHSA-c2c7-rcm5-vvqj#1446
Copilot wants to merge 2 commits intomainfrom
copilot/fix-picomatch-redos-vulnerability

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 26, 2026

ReDoS vulnerability in picomatch ≤2.3.1 and 4.0.0–4.0.3 (CVSS 7.5) allows CPU exhaustion via crafted extglob patterns.

The lockfile already resolves to patched versions. This adds npm overrides to prevent regression on future installs:

"overrides": {
  "picomatch@2": ">=2.3.2",
  "picomatch@4": ">=4.0.4"
}
  • picomatch@2 consumers: anymatch, micromatch
  • picomatch@4 consumers: jest-haste-map, jest-util, tinyglobby

Follows existing override pattern for minimatch and test-exclude.


⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.

Copilot AI changed the title [WIP] Fix ReDoS vulnerability in picomatch fix: add picomatch overrides for GHSA-c2c7-rcm5-vvqj Mar 26, 2026
Copilot AI requested a review from Mossaka March 26, 2026 05:38
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.

[Security] [GHSA-c2c7-rcm5-vvqj] ReDoS vulnerability in picomatch (transitive dependency)

2 participants