Vulnerabilities

1 via 25 paths

Dependencies

228

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

medium severity
new

Asymmetric Resource Consumption (Amplification)

  • Vulnerable module: minimatch
  • Introduced through: licensee@12.0.2

Detailed paths

  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/map-workspaces@5.0.3 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/package-json@7.0.5 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/map-workspaces@5.0.3 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › cacache@20.0.4 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/map-workspaces@5.0.3 › @npmcli/package-json@7.0.5 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/run-script@10.0.4 › @npmcli/package-json@7.0.5 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › pacote@21.5.3 › @npmcli/package-json@7.0.5 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › pacote@21.5.3 › cacache@20.0.4 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/metavuln-calculator@9.0.3 › cacache@20.0.4 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › pacote@21.5.3 › npm-packlist@10.0.4 › ignore-walk@8.0.0 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › pacote@21.5.3 › @npmcli/run-script@10.0.4 › @npmcli/package-json@7.0.5 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/metavuln-calculator@9.0.3 › pacote@21.5.3 › @npmcli/package-json@7.0.5 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › npm-registry-fetch@19.1.1 › make-fetch-happen@15.0.6 › cacache@20.0.4 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/metavuln-calculator@9.0.3 › pacote@21.5.3 › cacache@20.0.4 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/metavuln-calculator@9.0.3 › pacote@21.5.3 › npm-packlist@10.0.4 › ignore-walk@8.0.0 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/metavuln-calculator@9.0.3 › pacote@21.5.3 › @npmcli/run-script@10.0.4 › @npmcli/package-json@7.0.5 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › pacote@21.5.3 › npm-registry-fetch@19.1.1 › make-fetch-happen@15.0.6 › cacache@20.0.4 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › pacote@21.5.3 › sigstore@4.1.1 › @sigstore/tuf@4.0.2 › tuf-js@4.1.0 › @tufjs/models@4.1.0 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/metavuln-calculator@9.0.3 › pacote@21.5.3 › npm-registry-fetch@19.1.1 › make-fetch-happen@15.0.6 › cacache@20.0.4 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › pacote@21.5.3 › sigstore@4.1.1 › @sigstore/sign@4.1.1 › make-fetch-happen@15.0.6 › cacache@20.0.4 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/metavuln-calculator@9.0.3 › pacote@21.5.3 › sigstore@4.1.1 › @sigstore/tuf@4.0.2 › tuf-js@4.1.0 › @tufjs/models@4.1.0 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/metavuln-calculator@9.0.3 › pacote@21.5.3 › sigstore@4.1.1 › @sigstore/sign@4.1.1 › make-fetch-happen@15.0.6 › cacache@20.0.4 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › pacote@21.5.3 › sigstore@4.1.1 › @sigstore/tuf@4.0.2 › tuf-js@4.1.0 › make-fetch-happen@15.0.6 › cacache@20.0.4 › glob@13.0.7 › minimatch@10.2.6
  • Introduced through: license-badger@brettz9/license-badger › licensee@12.0.2 › @npmcli/arborist@9.9.4 › @npmcli/metavuln-calculator@9.0.3 › pacote@21.5.3 › sigstore@4.1.1 › @sigstore/tuf@4.0.2 › tuf-js@4.1.0 › make-fetch-happen@15.0.6 › cacache@20.0.4 › glob@13.0.7 › 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.

References