minimatch: Global pattern cache retains large expansions, enabling memory exhaustion
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| npm:minimatch | >= 11.0.3, <= 11.0.7 | 11.0.8 |
minimatch 11.0.3 through 11.0.7 retain the 256 most recent compiled Minimatch objects in a module-level cache. The cache is bounded only by entry count; each object can retain up to 100,000 expanded pattern rows. An application that passes untrusted, unique patterns to the top-level minimatch() function can therefore be terminated with a few very small inputs. Root cause Commit 52d2aecceb71dae7f1b19675e74e044eb472c1e6 changed minimatch() to store each compiled object in a 256-entry Map. The key…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/12/02 03:05、GitHub Advisory Databaseが「minimatch: Global pattern cache retains large expansions, enabling memory exhaustion」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: JavaScript / Node.js。CVE: CVE-2026-140007。