Vulnerabilities |
1 via 4 paths |
|---|---|
Dependencies |
180 |
Source |
GitHub |
Find, fix and prevent vulnerabilities in your code.
medium severity
new
- Vulnerable module: minimatch
- Introduced through: @npmcli/arborist@10.0.5 and pacote@22.0.1
Detailed paths
-
Introduced through: npm-pkgbuild@arlac77/npm-pkgbuild › @npmcli/arborist@10.0.5 › minimatch@10.2.6
-
Introduced through: npm-pkgbuild@arlac77/npm-pkgbuild › pacote@22.0.1 › sigstore@5.0.1 › @sigstore/tuf@5.0.1 › tuf-js@6.0.2 › @tufjs/models@5.0.2 › minimatch@10.2.6
-
Introduced through: npm-pkgbuild@arlac77/npm-pkgbuild › @npmcli/arborist@10.0.5 › pacote@22.0.1 › sigstore@5.0.1 › @sigstore/tuf@5.0.1 › tuf-js@6.0.2 › @tufjs/models@5.0.2 › minimatch@10.2.6
-
Introduced through: npm-pkgbuild@arlac77/npm-pkgbuild › @npmcli/arborist@10.0.5 › @npmcli/metavuln-calculator@10.0.0 › pacote@22.0.1 › sigstore@5.0.1 › @sigstore/tuf@5.0.1 › tuf-js@6.0.2 › @tufjs/models@5.0.2 › minimatch@10.2.6
Overview
minimatch is a minimal matching utility.
Affected versions of this package are vulnerable to Asymmetric Resource Consumption (Amplification) in the firstPhasePreProcess method, where the **/.. transform clones a globParts entry and pushes the clone back onto the same array inside a do...while (didSomething) fixpoint loop. An attacker can exhaust CPU and memory by supplying a glob pattern whose **/.. sequences regenerate entries during preprocessing, which secondPhasePreProcess then compares in an O(n^2) pairwise partsMatch pass over the expanded set. Exploitation requires the pattern to be parsed with optimizationLevel set to 2 or higher.
Remediation
Upgrade minimatch to version 11.0.1 or higher.