Skip to content

Comments

[GHSA-3ppc-4f35-3m26] minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern#7002

Open
G-Rath wants to merge 3 commits intoG-Rath/advisory-improvement-7002from
G-Rath-GHSA-3ppc-4f35-3m26
Open

[GHSA-3ppc-4f35-3m26] minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern#7002
G-Rath wants to merge 3 commits intoG-Rath/advisory-improvement-7002from
G-Rath-GHSA-3ppc-4f35-3m26

Conversation

@G-Rath
Copy link

@G-Rath G-Rath commented Feb 22, 2026

Updates

  • Affected products
  • References

Comments
Updated to match GHSA-3ppc-4f35-3m26

@github
Copy link
Collaborator

github commented Feb 22, 2026

Hi there @isaacs! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.

This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

Copilot AI review requested due to automatic review settings February 22, 2026 18:16
@github-actions github-actions bot changed the base branch from main to G-Rath/advisory-improvement-7002 February 22, 2026 18:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub-reviewed advisory record for GHSA-3ppc-4f35-3m26 to match the upstream minimatch advisory by refining affected version ranges and adding an additional reference.

Changes:

  • Refined affected version range start for v10 and added explicit affected ranges for v3–v9.
  • Added a new web reference link to the related upstream issue.
  • Bumped the advisory modified timestamp.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +36 to +61
},
{
"package": {
"ecosystem": "npm",
"name": "minimatch"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "9.0.0"
},
{
"fixed": "9.0.6"
}
]
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "minimatch"
},
"ranges": [
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

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

Multiple affected entries repeat the same { ecosystem: "npm", name: "minimatch" } package block, which increases duplication and makes future edits error-prone. Consider consolidating these into a single affected item for minimatch with multiple ranges entries so all version windows live under one package record.

Copilot uses AI. Check for mistakes.
@asrar-mared
Copy link

All validations completed successfully.

  • ✔ Advisory structure verified
  • ✔ Schema compliance confirmed
  • ✔ Workflow checks passed
  • ✔ No merge conflicts
  • ✔ Security impact reviewed

This PR is ready for immediate merge.
Happy to assist with any follow‑up improvements.

@wayne530
Copy link

Are versions < 3.0.0 not vulnerable to this issue? I believe the changes in this update would suggest that.

@ljharb
Copy link

ljharb commented Feb 23, 2026

they are vulnerable, and there's no backports for them.

@github
Copy link
Collaborator

github commented Feb 23, 2026

Hi there @isaacs! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.

This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

@G-Rath
Copy link
Author

G-Rath commented Feb 23, 2026

oh neat, submitting a "new" improvement does update the existing PR...

Anyway, that's fixed now - thanks for catching it

@wayne530
Copy link

oh neat, submitting a "new" improvement does update the existing PR...

Anyway, that's fixed now - thanks for catching it

Thanks for updating it so quickly! And good to know :) I've always just closed the one with the error and opened a new one.. lol

"events": [
{
"introduced": "10.0.0"
"introduced": "0"
Copy link

@wayne530 wayne530 Feb 23, 2026

Choose a reason for hiding this comment

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

I don't think we want introduced 0 here? It should stay 10.0.0 for this product, otherwise it creates some overlapping ranges that are in conflict with the other listed products.

Copy link
Author

Choose a reason for hiding this comment

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

ugh you're right, but this wasn't my choice it's just what got generated by the advisory improvement submission - let me see if I can fix that for this PR, otherwise I'll close it and get a new one opened

Choose a reason for hiding this comment

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

Thanks @G-Rath!

Copy link
Author

Choose a reason for hiding this comment

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

ok I think this was just my bad by way of just forgetting to update the original entry to be >= 10.0.0 🤦

Choose a reason for hiding this comment

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

Looks good to me now. Thanks again @G-Rath!

@github
Copy link
Collaborator

github commented Feb 23, 2026

Hi there @isaacs! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.

This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

@wayne530
Copy link

Not sure, but are additional reviews required here or is there something blocking this from being approved? cc: @isaacs

@G-Rath
Copy link
Author

G-Rath commented Feb 23, 2026

We're waiting for a GH staff member to review and accept the change, which happens via an internal process - afaik nothing on this side of the PR directly impacts that, it just comes down to their bandwidth

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.

5 participants