What’s Vulnerable › Vulnerabilities
CVE-2022-3517: minimatch ReDoS vulnerability
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-10-17 · updated 2026-06-17
- Weakness: CWE-400
Description
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.
Affected products
- Debian Linux: 10.0
- Fedoraproject Fedora: 36, 37
- isaacs minimatch: before 3.0.5 — fixed in 3.0.5
- Npm Minimatch: before 3.0.5 — fixed in 3.0.5
How to fix
Upgrade to a fixed version: isaacs minimatch 3.0.5; Npm Minimatch 3.0.5. Check the vendor advisory for mitigations.
References
- https://github.com/grafana/grafana-image-renderer/issues/329
- https://github.com/isaacs/minimatch/commit/a8763f4388e51956be62dc6025cec1126beeb5e6
- https://lists.debian.org/debian-lts-announce/2023/01/msg00011.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK/
- https://github.com/grafana/grafana-image-renderer/issues/329
- https://github.com/isaacs/minimatch/commit/a8763f4388e51956be62dc6025cec1126beeb5e6
- https://lists.debian.org/debian-lts-announce/2023/01/msg00011.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK/
Get alerted when CVE-2022-3517 or the next vulnerability affects your stack