Skip to content

fix: bump minimatch to ^10.2.3 to resolve ReDoS vulnerabilities#37127

Merged
mergify[bot] merged 2 commits intomainfrom
alvazjor/37100
Feb 28, 2026
Merged

fix: bump minimatch to ^10.2.3 to resolve ReDoS vulnerabilities#37127
mergify[bot] merged 2 commits intomainfrom
alvazjor/37100

Conversation

@alvazjor
Copy link
Copy Markdown
Contributor

Issue # (if applicable)

Closes #37100

Reason for this change

aws-cdk-lib depends on a vulnerable version of minimatch (<10.2.3), which is affected by two high-severity ReDoS vulnerabilities:

  • GHSA-7r86-cg39-jmmj — matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments
  • GHSA-23c5-xmqv-rm74 — nested *() extglobs generate catastrophically backtracking regular expressions

These are flagged by npm audit in projects using aws-cdk-lib.

Description of changes

Bumped the minimatch dependency floor in packages/aws-cdk-lib/package.json from ^10.2.2 to ^10.2.3. This ensures consumers cannot resolve to a vulnerable version.

Describe any new or updated permissions being added

N/A

Description of how you validated changes

Built aws-cdk-lib successfully using npx lerna run build --scope=aws-cdk-lib --skip-nx-cache.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@aws-cdk-automation aws-cdk-automation requested a review from a team February 28, 2026 13:27
@github-actions github-actions bot added bug This issue is a bug. effort/medium Medium work item – several days of effort p1 labels Feb 28, 2026
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Feb 28, 2026
Copy link
Copy Markdown
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

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

(This review is outdated)

@alvazjor alvazjor added pr-linter/exempt-test The PR linter will not require test changes pr-linter/exempt-integ-test The PR linter will not require integ test changes labels Feb 28, 2026
@aws-cdk-automation aws-cdk-automation dismissed their stale review February 28, 2026 13:31

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Feb 28, 2026
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 28, 2026

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 28, 2026

Merge Queue Status

Rule: default-squash


  • Entered queue2026-02-28 14:45 UTC
  • Checks passed · in-place
  • Merged2026-02-28 15:15 UTC · at e4d7371c4a40ea33242d1ca76ebd41610ff202de

This pull request spent 30 minutes 32 seconds in the queue, including 30 minutes 23 seconds running CI.

Required conditions to merge

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 28, 2026

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit c359329 into main Feb 28, 2026
17 of 18 checks passed
@mergify mergify bot deleted the alvazjor/37100 branch February 28, 2026 15:15
@github-actions
Copy link
Copy Markdown
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 28, 2026
@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Feb 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug This issue is a bug. contribution/core This is a PR that came from AWS. effort/medium Medium work item – several days of effort p1 pr-linter/exempt-integ-test The PR linter will not require integ test changes pr-linter/exempt-test The PR linter will not require test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws-cdk-lib: depends on vulnerable minimatch (<10.2.3)

3 participants