Skip to content

fix(deps): update dependency minimatch to v11 [security] - #7308

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 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
minimatch ^10.2.4 → ^11.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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.5

Compare Source

v11.0.4

Compare Source

v11.0.3

Compare Source

v11.0.2

Compare Source

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.

@renovate renovate Bot added dependencies Pull requests that update a dependency file javascript labels Nov 2, 2026
@renovate
renovate Bot requested a review from a team as a code owner November 2, 2026 21:15
@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 23aab300-45f4-45be-b789-90cda1f0c1ba

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

📊 Dependency Size Changes

📦 Package 📏 Size
minimatch@10.2.6 536.1 kB
minimatch@11.0.5 441 kB
@isaacs/nonrecursive-glob-match@1.1.0 427 kB
brace-expansion@5.0.12 85 kB

Total size change: 1.5 MB

@pkg-pr-new

pkg-pr-new Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@netlify/build

npm i https://pkg.pr.new/@netlify/build@7308

@netlify/build-info

npm i https://pkg.pr.new/@netlify/build-info@7308

@netlify/cache-utils

npm i https://pkg.pr.new/@netlify/cache-utils@7308

@netlify/config

npm i https://pkg.pr.new/@netlify/config@7308

@netlify/edge-bundler

npm i https://pkg.pr.new/@netlify/edge-bundler@7308

@netlify/functions-utils

npm i https://pkg.pr.new/@netlify/functions-utils@7308

@netlify/git-utils

npm i https://pkg.pr.new/@netlify/git-utils@7308

@netlify/headers-parser

npm i https://pkg.pr.new/@netlify/headers-parser@7308

@netlify/api

npm i https://pkg.pr.new/@netlify/api@7308

@netlify/nock-udp

npm i https://pkg.pr.new/@netlify/nock-udp@7308

@netlify/opentelemetry-sdk-setup

npm i https://pkg.pr.new/@netlify/opentelemetry-sdk-setup@7308

@netlify/opentelemetry-utils

npm i https://pkg.pr.new/@netlify/opentelemetry-utils@7308

@netlify/redirect-parser

npm i https://pkg.pr.new/@netlify/redirect-parser@7308

@netlify/run-utils

npm i https://pkg.pr.new/@netlify/run-utils@7308

@netlify/zip-it-and-ship-it

npm i https://pkg.pr.new/@netlify/zip-it-and-ship-it@7308

commit: 3564fd3

@renovate renovate Bot changed the title fix(deps): update dependency minimatch to v11 [security] fix(deps): 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 18:50
@renovate renovate Bot changed the title fix(deps): update dependency minimatch to v11 [security] - autoclosed fix(deps): update dependency minimatch to v11 [security] Nov 6, 2026
@renovate renovate Bot reopened this Nov 6, 2026
@renovate
renovate Bot force-pushed the renovate/npm-minimatch-vulnerability branch 2 times, most recently from 6d05dc6 to 0ea7c0b Compare November 6, 2026 14:17
@renovate
renovate Bot force-pushed the renovate/npm-minimatch-vulnerability branch from 0ea7c0b to 3564fd3 Compare November 10, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants