Skip to content

chore: fix ReDoS in ajv and minimatch#2747

Merged
sjinks merged 1 commit intotrunkfrom
fix/redos
Feb 26, 2026
Merged

chore: fix ReDoS in ajv and minimatch#2747
sjinks merged 1 commit intotrunkfrom
fix/redos

Conversation

@sjinks
Copy link
Member

@sjinks sjinks commented Feb 25, 2026

This pull request updates several dependencies in the npm-shrinkwrap.json file, primarily focusing on the minimatch and related packages. The changes include upgrading versions to address security, compatibility, and dependency resolution, as well as updating or replacing some supporting packages. Below are the most important changes grouped by theme:

Dependency Upgrades:

  • Upgraded multiple instances of minimatch from various 3.x and 5.x versions to newer patch versions (e.g., 3.1.23.1.4, 5.1.65.1.8, 9.0.59.0.7, 10.1.110.2.3) across several dependencies, improving security and compatibility. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

  • Upgraded ajv from 6.12.6 to 6.14.0 for improved JSON schema validation and bug fixes.

Dependency Replacements and Additions:

  • Replaced @isaacs/brace-expansion and @isaacs/balanced-match with newer brace-expansion and balanced-match packages, and updated their versions and dependency trees to reflect the latest upstream changes. [1] [2] [3]

Dependency Tree Adjustments:

  • Updated dependency references for brace-expansion and balanced-match in several places to ensure compatibility with new minimatch versions and Node.js engine requirements. [1] [2] [3]

These updates help keep the dependency tree secure, up to date, and compatible with current Node.js versions.

Ref: CVE-2025-69873
Ref: CVE-2026-26996

@sjinks sjinks self-assigned this Feb 25, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 25, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@sonarqubecloud
Copy link

@sjinks sjinks merged commit e6cbcb3 into trunk Feb 26, 2026
19 of 20 checks passed
@sjinks sjinks deleted the fix/redos branch February 26, 2026 22:24
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.

2 participants