cve.bz

CVE-2022-3517 Uncontrolled Resource Consumption

7.5 highEPSS 2.3%Fix available

High (7.5). EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in minimatch 3.0.5.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-05-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-1333 Inefficient Regular Expression Complexity
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-3517 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-3517?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-3517?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-3517 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
minimatch_project:minimatchbefore 3.0.5
debian:debian_linux10.0
fedoraproject:fedora36
fedoraproject:fedora37

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f8q6-p94x-37v3npmminimatch<3.0.53.0.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10node-minimatch3.0.4-3+deb10u1DLA-3271-1
Debian12, 13, 14node-minimatch3.0.5+~3.0.5-1DEBIAN-CVE-2022-3517
Ubuntu18.04:LTSnode-minimatch3.0.4-3+deb10u1build0.18.04.1UBUNTU-CVE-2022-3517 USN-6086-1
Ubuntu20.04:LTSnode-minimatch3.0.4-4ubuntu0.1UBUNTU-CVE-2022-3517 USN-6086-1
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:14.21.1-2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:14.21.3-1.module+el8.7.0+18531+81d21ca6RHSA-2023:1743
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHSA-2022:9073
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:18.12.1-2.module+el8.7.0+17306+fc023f99RHSA-2022:8833
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.20-1.module+el8.7.0+17282+f47dd33bRHSA-2022:8833
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.20-2.module+el8.7.0+17412+bb0e4a6bRHSA-2022:9073
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.20-2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.20-3.module+el8.7.0+18531+81d21ca6RHSA-2023:1743
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:23-3.module+el8.3.0+6519+9f98ed83RHSA-2023:0050 RHSA-2023:1743
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:25-1.module+el8.5.0+10992+fac5fe06RHSA-2022:9073
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el8.7.0+15582+19c314faRHSA-2022:8833
Red Hatenterprise_linux:8::appstreamnpm1:6.14.17-1.14.21.1.2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
21 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:14.21.1-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:14.21.3-1.module_el8.7.0+3551+53700ee8ALSA-2023:1743
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:18.12.1-2.module_el8.7.0+3370+40ccb2a8ALSA-2022:8833
AlmaLinux8nodejs-nodemon2.0.20-1.module_el8.7.0+3370+40ccb2a8ALSA-2022:8833
AlmaLinux8nodejs-nodemon2.0.20-2.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
AlmaLinux8nodejs-nodemon2.0.20-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux8nodejs-nodemon2.0.20-3.module_el8.7.0+3551+53700ee8ALSA-2023:1743
AlmaLinux8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2023:0050 ALSA-2023:1743
AlmaLinux8nodejs-packaging25-1.module_el8.5.0+2605+45d748afALSA-2022:9073
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2022:8833
AlmaLinux8npm1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
10 more for AlmaLinux in the JSON.
Rocky Linux8nodejs1:14.21.1-2.module+el8.7.0+1116+bd2a84b4RLSA-2023:0050
Rocky Linux8nodejs1:14.21.3-1.module+el8.7.0+1183+c2c35f0aRLSA-2023:1743
Rocky Linux8nodejs1:16.18.1-3.module+el8.7.0+1108+49363b0dRLSA-2022:9073
Rocky Linux8nodejs1:18.12.1-2.module+el8.7.0+1104+549f92a6RLSA-2022:8833
Rocky Linux8nodejs-nodemon0:2.0.20-1.module+el8.7.0+1104+549f92a6RLSA-2022:8833
Rocky Linux8nodejs-nodemon0:2.0.20-2.module+el8.7.0+1108+49363b0dRLSA-2022:9073 RLSA-2023:0050
Rocky Linux8nodejs-nodemon0:2.0.20-3.module+el8.7.0+1178+d52dba78RLSA-2023:1743
Rocky Linux8nodejs-packaging0:2021.06-4.module+el8.7.0+1072+5b168780RLSA-2022:8833
Rocky Linux8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2023:0050
Rocky Linux8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2023:0050
Rocky Linux8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2023:0050 RLSA-2023:1743
Rocky Linux8nodejs-packaging0:25-1.module+el8.5.0+702+221f14e6RLSA-2022:9073
10 more for Rocky Linux in the JSON.
Azure Linux3js-jqueryno fix listedAZL-44946
Azure Linux3nodejs-nodemonno fix listedAZL-44451

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Migration Toolkit for Runtimes 1 on RHEL 8nodejs-minimatchFixed 2023-01-26RHSA-2023:0471
Red Hat Enterprise Linux 8nodejs:18-8070020221118123310.bd1311edFixed 2022-12-06RHSA-2022:8833
Red Hat Enterprise Linux 8nodejs:16-8070020221207164159.bd1311edFixed 2022-12-15RHSA-2022:9073
Red Hat Enterprise Linux 8nodejs:14-8070020221212161539.bd1311edFixed 2023-01-09RHSA-2023:0050
Red Hat Enterprise Linux 8nodejs:14-8070020230306170042.bd1311edFixed 2023-04-12RHSA-2023:1743
Red Hat Enterprise Linux 8.4 Extended Update Supportnodejs:14-8040020230306170312.522a0ee4Fixed 2023-03-30RHSA-2023:1533
Red Hat Enterprise Linux 8.6 Extended Update Supportnodejs:14-8060020230306170237.ad008a3aFixed 2023-04-12RHSA-2023:1742
Red Hat Enterprise Linux 9nodejs:18-9010020221118120946.rhel9Fixed 2022-12-06RHSA-2022:8832
Red Hat Enterprise Linux 9nodejs-1:16.18.1-3.el9_1Fixed 2023-01-23RHSA-2023:0321
Red Hat Enterprise Linux 9nodejs-nodemon-0:2.0.20-2.el9_1Fixed 2023-01-23RHSA-2023:0321
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel8Not affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-ui-rhel8Fix deferred
OpenShift Developer Tools and ServicesodoWill not fix
OpenShift Service Mesh 2openshift-service-mesh/kiali-rhel8Will not fix
OpenShift Service Mesh 2.0openshift-service-mesh/kiali-rhel8Will not fix
OpenShift Service Mesh 2.0servicemesh-grafanaAffected
OpenShift Service Mesh 2.0servicemesh-prometheusAffected
OpenShift Service Mesh 2.1openshift-service-mesh/kiali-rhel8Will not fix
OpenShift Service Mesh 2.1servicemesh-grafanaWill not fix
OpenShift Service Mesh 2.1servicemesh-prometheusNot affected
85 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-3517.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON