CVE-2022-3517 minimatch ReDoS vulnerability

High 7.5 Published Updated

Attackers can cause a Denial of Service in the minimatch library by triggering a Regular Expression Denial of Service via the braceExpand function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-3517?

CVE-2022-3517 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 17 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-1333, CWE-400

Which versions are affected by CVE-2022-3517?

2 open source packages ship an affected version, including minimatch. It affects 3 products.

PackageAffectedFixed in
minimatch npmAll versions3.0.5
minimatch npmAll versions3.0.5

Products include Debian Debian Linux, Fedoraproject Fedora, Minimatch Project Minimatch.

How do I fix CVE-2022-3517?

Upgrade minimatch to 3.0.5 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-3517 being exploited?

There is no known exploitation of CVE-2022-3517 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-44451, AZL-44946, CLSA-2026-1774484498, CLSA-2026-1774484507, DEBIAN-CVE-2022-3517, DLA-3271-1 and 6 more.

Is CVE-2022-3517 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free