Skip to content

chore(deps): update dependency minimatch@>=9.0.0 <10.0.0 to ^9.0.9 [security] - #4038

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

renovate[bot] wants to merge 1 commit into
mainfrom
renovate-npm-minimatch-=9.0.0-10.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@>=9.0.0 <10.0.0 ^9.0.7 → ^9.0.9 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@>=9.0.0 <10.0.0)

v9.0.9

Compare Source

v9.0.8

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

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

@netlify

netlify Bot commented Nov 25, 2026

Copy link
Copy Markdown

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

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

@github-actions

Copy link
Copy Markdown

🚀 Performance Test Results

Test Configuration:

  • VUs: 4
  • Duration: 1m0s

Test Metrics:

  • Requests/s: 67.94
  • Iterations/s: 22.64
  • Failed Requests: 0.00% (0 of 4084)
📜 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.5 MB 25 kB/s
     data_sent......................: 3.1 MB 52 kB/s
     http_req_blocked...............: avg=5.43µs   min=1.43µs   med=4.2µs    max=982.65µs p(90)=6.06µs   p(95)=6.86µs  
     http_req_connecting............: avg=177ns    min=0s       med=0s       max=193.87µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=58.39ms  min=6.44ms   med=46.22ms  max=287.93ms p(90)=100ms    p(95)=111.04ms
       { expected_response:true }...: avg=58.39ms  min=6.44ms   med=46.22ms  max=287.93ms p(90)=100ms    p(95)=111.04ms
     http_req_failed................: 0.00%  ✓ 0         ✗ 4084
     http_req_receiving.............: avg=75.44µs  min=19.29µs  med=62.41µs  max=1.59ms   p(90)=102.6µs  p(95)=131.36µs
     http_req_sending...............: avg=32.84µs  min=6.9µs    med=21.8µs   max=1.91ms   p(90)=36.86µs  p(95)=55.45µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=58.28ms  min=6.28ms   med=46.08ms  max=287.86ms p(90)=99.84ms  p(95)=110.96ms
     http_reqs......................: 4084   67.935703/s
     iteration_duration.............: avg=176.59ms min=116.93ms med=169.76ms max=604.34ms p(90)=214.54ms p(95)=230.7ms 
     iterations.....................: 1361   22.639689/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