Skip to content

deps: resolve minimatch dependabot vulnerabilities#2455

Merged
jcstein merged 2 commits intomainfrom
copilot/resolve-dependabot-issues
Mar 18, 2026
Merged

deps: resolve minimatch dependabot vulnerabilities#2455
jcstein merged 2 commits intomainfrom
copilot/resolve-dependabot-issues

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 18, 2026

Three ReDoS CVEs in minimatch (GHSA-3ppc-4f35-3m26, GHSA-7r86-cg39-jmmj, GHSA-23c5-xmqv-rm74) affect transitive dependencies across three major version lines pinned in yarn.lock and package-lock.json.

Vulnerable → patched versions

Range Was Now
3.x 3.1.2 3.1.5
9.x 9.0.5 9.0.9
10.x 10.1.1 10.2.4

Approach

Added overrides (npm) and resolutions (yarn) to package.json. A global resolutions entry forces 3.x consumers (ESLint packages, serve-handler) to 3.1.5, with path-specific overrides preserving the correct major for packages requiring newer APIs:

"overrides": {
  "serve-handler": { "minimatch": "3.1.5" },
  "@typescript-eslint/typescript-estree": { "minimatch": "9.0.9" },
  "@ts-morph/common": { "minimatch": "10.2.4" },
  "glob": { "minimatch": "10.2.4" }
},
"resolutions": {
  "minimatch": "3.1.5",
  "@typescript-eslint/typescript-estree/minimatch": "9.0.9",
  "@ts-morph/common/minimatch": "10.2.4",
  "glob/minimatch": "10.2.4"
}

Both yarn.lock and package-lock.json have been regenerated accordingly.

Original prompt

This section details on the original issue you should resolve

<issue_title>deps: resolve dependabot issues</issue_title>
<issue_description>https://github.com/celestiaorg/docs/security/dependabot?q=is%3Aopen+manifest%3Ayarn.lock+package%3Aminimatch</issue_description>

Comments on the Issue (you are @copilot in this section)


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.


Open with Devin

Add overrides (npm) and resolutions (yarn) to force safe versions:
- minimatch 3.1.5 (was 3.1.2, fixes GHSA-3ppc-4f35-3m26, GHSA-7r86-cg39-jmmj, GHSA-23c5-xmqv-rm74)
- minimatch 9.0.9 (was 9.0.5, same CVEs)
- minimatch 10.2.4 (was 10.1.1, same CVEs)

Co-authored-by: jcstein <46639943+jcstein@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix dependabot issues by updating packages deps: resolve minimatch dependabot vulnerabilities Mar 18, 2026
Copilot AI requested a review from jcstein March 18, 2026 22:40
@jcstein jcstein marked this pull request as ready for review March 18, 2026 23:32
@jcstein jcstein merged commit ba82b48 into main Mar 18, 2026
4 of 5 checks passed
@jcstein jcstein deleted the copilot/resolve-dependabot-issues branch March 18, 2026 23:32
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

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.

deps: resolve dependabot issues

2 participants