← 脆弱性・アップデート

注意脆弱性アドバイザリJavaScript / Node.js

minimatch: Proto Key Bypasses Cache-Key Weighting in minimatch's Shared Matcher Cache

影響

パッケージ影響する版修正版
npm:minimatch>= 11.0.6, <= 11.0.911.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…

GitHub Advisory Databaseで読む

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。