← 漏洞与更新

低危漏洞公告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。