Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. minimatch
  4. ›
  5. CVE-2022-3517

CVE-2022-3517: Regular Expression Denial of Service

October 17, 2022 (updated November 7, 2023)

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.

References

  • github.com/grafana/grafana-image-renderer/issues/329
  • github.com/isaacs/minimatch/commit/a8763f4388e51956be62dc6025cec1126beeb5e6
  • nvd.nist.gov/vuln/detail/CVE-2022-3517

Code Behaviors & Features

Detect and mitigate CVE-2022-3517 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.0.5

Fixed versions

  • 3.0.5

Solution

Upgrade to version 3.0.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/minimatch/CVE-2022-3517.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:51 +0000.