Description
picomatch through 4.0.7 contains a glob filter bypass vulnerability because globstar (**) patterns are compiled without the dotAll flag and fail to match line terminators. Attackers who control file, object key or archive entry names containing newline characters can evade ** deny patterns, causing excluded resources to be included and exposed.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
micromatch picomatch
Default version status: unaffected
0 to ≤ 4.0.7affected
pkg:npm/picomatchReferences
- https://github.com/micromatch/picomatch/pull/202 ↗
- https://github.com/micromatch/picomatch/commit/838c9d791cbd0e7c92e858f71ae38f6597416c09 ↗
- https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L395-L397 ↗
- https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L1373-L1376 ↗
- https://www.vulncheck.com/advisories/picomatch-through-4.0.7-glob-filter-bypass-via-globstar-line-terminators ↗