CVEfocus › CVE database › CVE-2022-3517

CVE-2022-3517

CVSS 7.5 HighEPSS 2.3% (higher than 83% of CVEs)Published 2022-10-17Updated 2025-05-13Assigner: redhat

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.

CWE-400

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu, npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

46Fixed
1Fix pending
34Will not fix
91Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04node-minimatchNot affected
vulnerable_code_not_present
Ubuntu 20.04node-minimatchFixed3.0.4-4ubuntu0.1UBUNTU-CVE-2022-3517
Ubuntu 18.04node-minimatchFixed3.0.4-3+deb10u1build0.18.04.1UBUNTU-CVE-2022-3517
Ubuntu 16.04node-minimatchFix pending
Debian 14node-minimatchFixed3.0.5+~3.0.5-1DEBIAN-CVE-2022-3517
Debian 13node-minimatchFixed3.0.5+~3.0.5-1DEBIAN-CVE-2022-3517
Debian 12node-minimatchFixed3.0.5+~3.0.5-1DEBIAN-CVE-2022-3517
Red Hat Enterprise Linux 9389-ds-baseWill not fix
Will not fix
Red Hat Enterprise Linux 9389-ds-base-develWill not fix
Will not fix
Red Hat Enterprise Linux 9389-ds-base-libsWill not fix
Will not fix
Red Hat Enterprise Linux 9389-ds-base-snmpWill not fix
Will not fix
Red Hat Enterprise Linux 9cargoNot affected
Red Hat Enterprise Linux 9clippyNot affected
Red Hat Enterprise Linux 9gjsWill not fix
Will not fix
Red Hat Enterprise Linux 9gjs-develWill not fix
Will not fix
Red Hat Enterprise Linux 9grafanaWill not fix
Will not fix
Red Hat Enterprise Linux 9grafana-selinuxWill not fix
Will not fix
Red Hat Enterprise Linux 9nodejsFixed1:18.12.1-1.module+el9.1.0.z+17326+318294bbRHSA-2023:0321
Red Hat Enterprise Linux 9nodejs-develFixed1:18.12.1-1.module+el9.1.0.z+17326+318294bbRHSA-2022:8832
Red Hat Enterprise Linux 9nodejs-docsFixed1:16.18.1-3.el9_1RHSA-2022:8832
Red Hat Enterprise Linux 9nodejs-full-i18nFixed1:18.12.1-1.module+el9.1.0.z+17326+318294bbRHSA-2023:0321
Red Hat Enterprise Linux 9nodejs-libsFixed1:16.18.1-3.el9_1RHSA-2023:0321
Red Hat Enterprise Linux 9nodejs-nodemonFixed0:2.0.20-2.el9_1RHSA-2022:8832
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.1.0+15718+e52ec601RHSA-2022:8832
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-4.module+el9.1.0+15718+e52ec601RHSA-2022:8832
Red Hat Enterprise Linux 9npmFixed1:8.19.2-1.18.12.1.1.module+el9.1.0.z+17326+318294bbRHSA-2023:0321
Red Hat Enterprise Linux 9polkitNot affected
Red Hat Enterprise Linux 9polkit-develNot affected
Red Hat Enterprise Linux 9polkit-docsNot affected
Red Hat Enterprise Linux 9polkit-libsNot affected
Red Hat Enterprise Linux 9python3-lib389Will not fix
Will not fix
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9rust-analysisNot affected
Red Hat Enterprise Linux 9rust-analyzerNot affected
Red Hat Enterprise Linux 9rust-debugger-commonNot affected
Red Hat Enterprise Linux 9rust-docNot affected
Red Hat Enterprise Linux 9rust-gdbNot affected
Red Hat Enterprise Linux 9rust-lldbNot affected
Red Hat Enterprise Linux 9rust-srcNot affected
Red Hat Enterprise Linux 9rust-std-staticNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 9rust-toolsetNot affected
Red Hat Enterprise Linux 9rustfmtNot affected
Red Hat Enterprise Linux 8389-ds-baseWill not fix
Will not fix
Red Hat Enterprise Linux 8389-ds-base-develWill not fix
Will not fix
Red Hat Enterprise Linux 8389-ds-base-legacy-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 8389-ds-base-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8389-ds-base-snmpWill not fix
Will not fix
Red Hat Enterprise Linux 8cargoNot affected
Red Hat Enterprise Linux 8cargo-docNot affected
Red Hat Enterprise Linux 8clippyNot affected
Red Hat Enterprise Linux 8cockpitNot affected
Red Hat Enterprise Linux 8cockpit-389-dsWill not fix
Will not fix
Red Hat Enterprise Linux 8cockpit-bridgeNot affected
Red Hat Enterprise Linux 8cockpit-dashboardNot affected
Red Hat Enterprise Linux 8cockpit-docNot affected
Red Hat Enterprise Linux 8cockpit-machinesNot affected
Red Hat Enterprise Linux 8cockpit-packagekitNot affected
Red Hat Enterprise Linux 8cockpit-pcpNot affected
Red Hat Enterprise Linux 8cockpit-podmanNot affected
Red Hat Enterprise Linux 8cockpit-storagedNot affected
Red Hat Enterprise Linux 8cockpit-systemNot affected
Red Hat Enterprise Linux 8cockpit-wsNot affected
Red Hat Enterprise Linux 8grafanaWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-azure-monitorWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-cloudwatchWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-elasticsearchWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-graphiteWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-influxdbWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-lokiWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-mssqlWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-mysqlWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-opentsdbWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-postgresWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-prometheusWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-selinuxWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-stackdriverWill not fix
Will not fix
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8nodejsFixed1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHSA-2023:0050
Red Hat Enterprise Linux 8nodejs-develFixed1:18.12.1-2.module+el8.7.0+17306+fc023f99RHSA-2023:0050
Red Hat Enterprise Linux 8nodejs-docsFixed1:14.21.3-1.module+el8.7.0+18531+81d21ca6RHSA-2022:8833
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHSA-2023:0050
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:2.0.20-3.module+el8.7.0+18531+81d21ca6RHSA-2022:9073
Red Hat Enterprise Linux 8nodejs-packagingFixed0:2021.06-4.module+el8.7.0+15582+19c314faRHSA-2023:1743
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed0:2021.06-4.module+el8.7.0+15582+19c314faRHSA-2022:8833
Red Hat Enterprise Linux 8npmFixed1:8.19.2-1.16.18.1.3.module+el8.7.0+17465+1a1abd74RHSA-2023:0050
Red Hat Enterprise Linux 8pcsWill not fix
Will not fix
Red Hat Enterprise Linux 8pcs-snmpWill not fix
Will not fix
Red Hat Enterprise Linux 8python3-lib389Will not fix
Will not fix
Red Hat Enterprise Linux 8rlsNot affected
Red Hat Enterprise Linux 8rubyNot affected
Red Hat Enterprise Linux 8ruby-bundled-gemsNot affected
Red Hat Enterprise Linux 8ruby-default-gemsNot affected
Red Hat Enterprise Linux 8ruby-develNot affected
Red Hat Enterprise Linux 8ruby-docNot affected
Red Hat Enterprise Linux 8ruby-irbNot affected
Red Hat Enterprise Linux 8ruby-libsNot affected
Red Hat Enterprise Linux 8rubygem-abrtNot affected
Red Hat Enterprise Linux 8rubygem-abrt-docNot affected
Red Hat Enterprise Linux 8rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 8rubygem-bsonNot affected
Red Hat Enterprise Linux 8rubygem-bson-docNot affected
Red Hat Enterprise Linux 8rubygem-bundlerNot affected
Red Hat Enterprise Linux 8rubygem-bundler-docNot affected
Red Hat Enterprise Linux 8rubygem-did_you_meanNot affected
Red Hat Enterprise Linux 8rubygem-io-consoleNot affected
Red Hat Enterprise Linux 8rubygem-irbNot affected
Red Hat Enterprise Linux 8rubygem-jsonNot affected
Red Hat Enterprise Linux 8rubygem-minitestNot affected
Red Hat Enterprise Linux 8rubygem-mongoNot affected
Red Hat Enterprise Linux 8rubygem-mongo-docNot affected
Red Hat Enterprise Linux 8rubygem-mysql2Not affected
Red Hat Enterprise Linux 8rubygem-mysql2-docNot affected
Red Hat Enterprise Linux 8rubygem-net-telnetNot affected
Red Hat Enterprise Linux 8rubygem-opensslNot affected
Red Hat Enterprise Linux 8rubygem-pgNot affected
Red Hat Enterprise Linux 8rubygem-pg-docNot affected
Red Hat Enterprise Linux 8rubygem-power_assertNot affected
Red Hat Enterprise Linux 8rubygem-psychNot affected
Red Hat Enterprise Linux 8rubygem-raccNot affected
Red Hat Enterprise Linux 8rubygem-rakeNot affected
Red Hat Enterprise Linux 8rubygem-rbsNot affected
Red Hat Enterprise Linux 8rubygem-rdocNot affected
Red Hat Enterprise Linux 8rubygem-rexmlNot affected
Red Hat Enterprise Linux 8rubygem-rssNot affected
Red Hat Enterprise Linux 8rubygem-test-unitNot affected
Red Hat Enterprise Linux 8rubygem-typeprofNot affected
Red Hat Enterprise Linux 8rubygem-xmlrpcNot affected
Red Hat Enterprise Linux 8rubygemsNot affected
Red Hat Enterprise Linux 8rubygems-develNot affected
Red Hat Enterprise Linux 8rustNot affected
Red Hat Enterprise Linux 8rust-analysisNot affected
Red Hat Enterprise Linux 8rust-analyzerNot affected
Red Hat Enterprise Linux 8rust-debugger-commonNot affected
Red Hat Enterprise Linux 8rust-docNot affected
Red Hat Enterprise Linux 8rust-gdbNot affected
Red Hat Enterprise Linux 8rust-lldbNot affected
Red Hat Enterprise Linux 8rust-srcNot affected
Red Hat Enterprise Linux 8rust-std-staticNot affected
Red Hat Enterprise Linux 8rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 8rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 8rust-toolsetNot affected
Red Hat Enterprise Linux 8rustfmtNot affected
Red Hat Enterprise Linux 7firefoxWill not fix
Out of support scope
Red Hat Enterprise Linux 6firefoxWill not fix
Out of support scope
AlmaLinux 9nodejsFixed1:16.18.1-3.el9_1ALSA-2022:8832
AlmaLinux 9nodejs-develFixed1:18.12.1-1.module_el9.1.0+16+91bc168fALSA-2022:8832
AlmaLinux 9nodejs-docsFixed1:16.18.1-3.el9_1ALSA-2022:8832
AlmaLinux 9nodejs-full-i18nFixed1:18.12.1-1.module_el9.1.0+16+91bc168fALSA-2023:0321
AlmaLinux 9nodejs-libsFixed1:16.18.1-3.el9_1ALSA-2023:0321
AlmaLinux 9nodejs-nodemonFixed2.0.20-2.el9_1ALSA-2022:8832
AlmaLinux 9nodejs-packagingFixed2021.06-4.module_el9.1.0+13+d9a595eaALSA-2022:8832
AlmaLinux 9nodejs-packaging-bundlerFixed2021.06-4.module_el9.1.0+13+d9a595eaALSA-2022:8832
AlmaLinux 9npmFixed1:8.19.2-1.16.18.1.3.el9_1ALSA-2022:8832
AlmaLinux 8nodejsFixed1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2023:1743
AlmaLinux 8nodejs-develFixed1:18.12.1-2.module_el8.7.0+3370+40ccb2a8ALSA-2022:9073
AlmaLinux 8nodejs-docsFixed1:18.12.1-2.module_el8.7.0+3370+40ccb2a8ALSA-2023:1743
AlmaLinux 8nodejs-full-i18nFixed1:14.21.1-2.module_el8.7.0+3373+a4c18c43ALSA-2022:9073
AlmaLinux 8nodejs-nodemonFixed2.0.20-2.module_el8.7.0+3373+a4c18c43ALSA-2023:1743
AlmaLinux 8nodejs-packagingFixed23-3.module_el8.4.0+2522+3bd42762ALSA-2023:1743
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2022:8833
AlmaLinux 8npmFixed1:6.14.18-1.14.21.3.1.module_el8.7.0+3551+53700ee8ALSA-2022:9073
Rocky Linux 9nodejsFixed1:16.18.1-3.el9_1RLSA-2023:0321
Rocky Linux 9nodejs-nodemonFixed0:2.0.20-2.el9_1RLSA-2023:0321
Rocky Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.6.0+32322+a8b1fd01RLSA-2022:8832
Rocky Linux 8nodejsFixed1:14.21.3-1.module+el8.7.0+1183+c2c35f0aRLSA-2023:0050
Rocky Linux 8nodejs-nodemonFixed0:2.0.20-3.module+el8.7.0+1178+d52dba78RLSA-2022:9073
Rocky Linux 8nodejs-packagingFixed0:23-3.module+el8.5.0+733+de4fee6cRLSA-2023:1743
npm libraryminimatchFixed3.0.5GHSA-f8q6-p94x-37v3

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.