Packages / minimatch / Security

HighVulnerabilityGHSA-f8q6-p94x-37v3CVE-2022-3517Published 18 Oct 2022

minimatch ReDoS vulnerability

Your version

Affected releases · minimatch

  • 3.x3.0.0 – 3.0.4Fixed in 3.0.5
  • 2.x and older0.0.1 – 2.0.10No fix, no longer updated

On 3.x, the newest line:

npm install minimatch@3.0.5
Every release on a timeline
11.x
  1. Not affected

    11.0.0 – 11.0.9

    10 releases, latest

3.x
  1. Affected

    3.0.0 – 3.0.4

    4 releases

  2. Fixed

    3.0.5 – 3.1.5

    10 releases

2.x
  1. Affected

    2.0.0 – 2.0.10

    11 releases

1.x
  1. Affected

    1.0.0

    1 release

0.x
  1. Affected

    0.0.1 – 0.4.0

    25 releases

155 stable releases of minimatch, oldest to newest, one row per major.

What happens

A vulnerability was found in the minimatch package. This flaw allows a Regular Expression Denial of Service (ReDoS) when calling the braceExpand function with specific arguments, resulting in a Denial of Service.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.