---
title: "GHSA-f8q6-p94x-37v3: minimatch ReDoS vulnerability"
description: "High severity. minimatch ReDoS vulnerability. Affects minimatch; fixed in 3.0.5."
url: https://inlinr.com/advisories/GHSA-f8q6-p94x-37v3
lang: en
---

[Packages](https://inlinr.com/packages) / [minimatch](https://inlinr.com/packages/minimatch) / [Security](https://inlinr.com/packages/minimatch/security)

High Vulnerability GHSA-f8q6-p94x-37v3 CVE-2022-3517 Published 18 Oct 2022

# minimatch ReDoS vulnerability

Your version 

Affected releases · [minimatch](https://inlinr.com/packages/minimatch)

- 3.x 3.0.0 – 3.0.4 Fixed in 3.0.5
- 2.x and older 0.0.1 – 2.0.10 No 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.

## How it is exploited

Exploitable over the network, with no account and no action from a user.

- **Confidentiality**: none
- **Integrity**: none
- **Availability**: high

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

## References

- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-3517 "https://nvd.nist.gov/vuln/detail/CVE-2022-3517")  
nvd.nist.gov/vuln/detail/CVE-2022-3517
- [Issue](https://github.com/grafana/grafana-image-renderer/issues/329 "https://github.com/grafana/grafana-image-renderer/issues/329")  
#329
- [Issue](https://github.com/nodejs/node/issues/42510 "https://github.com/nodejs/node/issues/42510")  
#42510
- [Fix commit](https://github.com/isaacs/minimatch/commit/a8763f4388e51956be62dc6025cec1126beeb5e6 "https://github.com/isaacs/minimatch/commit/a8763f4388e51956be62dc6025cec1126beeb5e6")  
a8763f4
- [Package](https://github.com/isaacs/minimatch "https://github.com/isaacs/minimatch")  
github.com/isaacs/minimatch
- [Reference](https://lists.debian.org/debian-lts-announce/2023/01/msg00011.html "https://lists.debian.org/debian-lts-announce/2023/01/msg00011.html")  
lists.debian.org/debian-lts-announce/2023/01/ms…
- [Reference](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3 "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3")  
lists.fedoraproject.org/archives/list/package-a…
- [Reference](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK")  
lists.fedoraproject.org/archives/list/package-a…

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
