micromatch@2.1.0 vulnerabilities

Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.

Direct Vulnerabilities

Known vulnerabilities in the micromatch package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Inefficient Regular Expression Complexity

Affected versions of this package are vulnerable to Inefficient Regular Expression Complexity due to the use of unsafe pattern configurations that allow greedy matching through the micromatch.braces() function. An attacker can cause the application to hang or slow down by passing a malicious payload that triggers extensive backtracking in regular expression processing.

How to fix Inefficient Regular Expression Complexity?

Upgrade micromatch to version 4.0.8 or higher.

<4.0.8