minimatch 是一个用于将 glob 表达式转换为 JavaScript 正则表达式对象的轻量级匹配工具。在 11.0.1 版本之前,src/index.ts 中实现的 firstPhasePreProcess() 函数在优化级别(optimizationLevel)为 2 或更高时,会在不动点(fixpoint)循环中反复展开攻击者可控的 **/.. 模式片段,导致生成的 globParts 条目被重复处理和再次展开。随后,secondPhasePreProcess() 函数会对这些已展开的条目进行两两比较
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC