Skip to content

chore(deps): update dependency minimatch to v11 [security] - #1933

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-minimatch-vulnerability
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-minimatch-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
minimatch 10.2.6 → 11.0.1 age confidence

minimatch has potential denial of service via globparts amplification

CVE-2026-118764 / GHSA-g3hv-75wg-m249

More information

Details

minimatch 10.2.6 contains an attacker-controlled pattern amplification in firstPhasePreProcess() when optimizationLevel >= 2.

researcher: Reid Downing (b1nv0id)
files:

  • src/index.ts: 690-770
  • src/index.ts: 780-796

issue:
input-controlled growth of globParts during first-phase preprocessing, followed by quadratic second-phase processing.

the **/../ transformation clones a globparts entry and appends the clone to the same globparts array:

parts.splice(gs, 1)
const other = parts.slice(0)
other[gs] = '**'
globParts.push(other)

this occurs inside a do...while (didSomething) fixpoint loop, allowing generated entries to be processed again.

the expanded globparts array is subsequently processed by secondPhasePreProcess(), which performs pairwise comparisons:

for (let i = 0; i < globParts.length - 1; i++) {
  for (let j = i + 1; j < globParts.length; j++) {
    this.partsMatch(...)
  }
}

an attacker who can supply a glob pattern can therefore cause additional pattern entries to be generated during preprocessing, followed by quadratic pairwise processing, resulting in excessive cpu and memory consumption.

Severity

  • CVSS Score: 6.9 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

isaacs/minimatch (minimatch)

v11.0.1

Compare Source

v11.0.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@changeset-bot

changeset-bot Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 084cb93

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate Bot changed the title Update dependency minimatch to v11 [SECURITY] Update dependency minimatch to v11 [SECURITY] - autoclosed Nov 4, 2026
@renovate renovate Bot closed this Nov 4, 2026
@renovate
renovate Bot deleted the renovate/npm-minimatch-vulnerability branch November 4, 2026 22:21
@renovate renovate Bot changed the title Update dependency minimatch to v11 [SECURITY] - autoclosed Update dependency minimatch to v11 [SECURITY] Nov 4, 2026
@renovate renovate Bot reopened this Nov 4, 2026
@renovate
renovate Bot force-pushed the renovate/npm-minimatch-vulnerability branch from 4c9164b to cd38c43 Compare November 4, 2026 23:23
@renovate renovate Bot changed the title Update dependency minimatch to v11 [SECURITY] chore(deps): update dependency minimatch to v11 [security] Nov 5, 2026
@renovate
renovate Bot force-pushed the renovate/npm-minimatch-vulnerability branch from cd38c43 to 53025cf Compare November 5, 2026 17:13
@renovate
renovate Bot force-pushed the renovate/npm-minimatch-vulnerability branch from 53025cf to 084cb93 Compare November 11, 2026 11:30
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.

0 participants