Skip to content

chore(deps): update dependency minimatch@>=3.0.0 <4.0.0 to ^3.1.5 [security] - #4037

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

renovate[bot] wants to merge 1 commit into
mainfrom
renovate-npm-minimatch-=3.0.0-4.0.0-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
minimatch@>=3.0.0 <4.0.0 ^3.1.4 → ^3.1.5 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@>=3.0.0 <4.0.0)

v3.1.5

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 the dependencies Pull requests that update a dependency label Nov 25, 2026
@netlify

netlify Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for brilliant-pasca-3e80ec canceled.

Name Link
🔨 Latest commit ef742c5
🔍 Latest deploy log https://app.netlify.com/projects/brilliant-pasca-3e80ec/deploys/6b06ca6011249d86f4655271

@github-actions

Copy link
Copy Markdown

🚀 Performance Test Results

Test Configuration:

  • VUs: 4
  • Duration: 1m0s

Test Metrics:

  • Requests/s: 47.25
  • Iterations/s: 15.75
  • Failed Requests: 0.00% (0 of 2842)
📜 Logs

> performance@1.0.0 run-tests:testenv /home/runner/work/rafiki/rafiki/test/performance
> ./scripts/run-tests.sh -e test -k -q --vus 4 --duration 1m

Cloud Nine GraphQL API is up: http://localhost:3101/graphql
Cloud Nine Wallet Address is up: http://localhost:3100/
Happy Life Bank Address is up: http://localhost:4100/
cloud-nine-wallet-test-backend already set
cloud-nine-wallet-test-auth already set
happy-life-bank-test-backend already set
happy-life-bank-test-auth already set
     data_received..................: 1.0 MB 17 kB/s
     data_sent......................: 2.2 MB 36 kB/s
     http_req_blocked...............: avg=6.99µs   min=1.94µs   med=5.75µs   max=412.4µs  p(90)=7.2µs    p(95)=8.06µs  
     http_req_connecting............: avg=398ns    min=0s       med=0s       max=335.09µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=83.88ms  min=7.17ms   med=68.94ms  max=424.78ms p(90)=142.8ms  p(95)=162.93ms
       { expected_response:true }...: avg=83.88ms  min=7.17ms   med=68.94ms  max=424.78ms p(90)=142.8ms  p(95)=162.93ms
     http_req_failed................: 0.00%  ✓ 0         ✗ 2842
     http_req_receiving.............: avg=113.49µs min=23.94µs  med=92.44µs  max=2.51ms   p(90)=143.39µs p(95)=238.54µs
     http_req_sending...............: avg=44.68µs  min=9.94µs   med=26.55µs  max=2.36ms   p(90)=52.76µs  p(95)=88.6µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=83.72ms  min=7.03ms   med=68.82ms  max=424.71ms p(90)=142.68ms p(95)=162.74ms
     http_reqs......................: 2842   47.254941/s
     iteration_duration.............: avg=253.63ms min=170.94ms med=242.54ms max=926.28ms p(90)=308.95ms p(95)=336.84ms
     iterations.....................: 947    15.746105/s
     vus............................: 4      min=4       max=4 
     vus_max........................: 4      min=4       max=4 

This branch has not been deployed

No deployments
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants