minimatch: Proto Key Bypasses Cache-Key Weighting in minimatch's Shared Matcher Cache
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| npm:minimatch | >= 11.0.6, <= 11.0.9 | 11.0.10 |
minimatch's module-global matcher cache can be poisoned by a __proto__ key in the options object passed to minimatch(). optionsKey() scores that key the same as no options at all, while copyOptions()'s bare for...in loop re-parents its copy onto the attacker's prototype instead of copying it as an own property — one caller doing this is enough to flip the cached matcher's case-sensitivity for every later, unrelated caller matching the same pattern string. Details src/index.ts:229-234, optionsKe…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/12/05 06:52、GitHub Advisory Databaseが「minimatch: Proto Key Bypasses Cache-Key Weighting in minimatch's Shared Matcher Cache」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「注意」(low) です。関連する技術: JavaScript / Node.js。CVE: CVE-2026-141514。