Minimatch is a minimal matching utility that works by converting glob expressions into JavaScript RegExp objects. The primary function, minimatch(path, pattern) in Minimatch 3.0.1 and earlier is vulnerable to ReDoS in the pattern parameter.
RegExp
minimatch(path, pattern)
pattern
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "binaries": [ { "binary_name": "node-minimatch", "binary_version": "0.2.12-1ubuntu0.1~esm2" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "binaries": [ { "binary_name": "node-minimatch", "binary_version": "1.0.0-1ubuntu0.1~esm2" } ] }