Skip to content
OpenAdvisories
High · 7.5 CVE-2022-3517 EUVD-2022-7089GHSA-f8q6-p94x-37v3

minimatch ReDoS vulnerability

Published Oct 17, 2022 · Updated May 13, 2025 · Assigned by redhat

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

VendorProductAffectedFixed
— minimatch minimatch versions prior to 3.0.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-minimatch 3.0.5+~3.0.5-1 —
Debian 13 node-minimatch 3.0.5+~3.0.5-1 —
Debian 12 node-minimatch 3.0.5+~3.0.5-1 —
Debian 10 node-minimatch 3.0.4-3+deb10u1 DLA-3271-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-minimatch 3.0.4-4ubuntu0.1 USN-6086-1
Ubuntu 18.04 LTS node-minimatch 3.0.4-3+deb10u1build0.18.04.1 USN-6086-1
ReleasePackageFixed inAdvisory
RHEL 9 nodejs +3 1:16.18.1-3.el9_1 RHSA-2023:0321, RHSA-2022:8832
RHEL 9 nodejs-devel 1:18.12.1-1.module+el9.1.0.z+17326+318294bb RHSA-2022:8832
RHEL 9 nodejs-nodemon 2.0.20-1.module+el9.1.0.z+17326+318294bb RHSA-2023:0321, RHSA-2022:8832
RHEL 9 nodejs-packaging +1 2021.06-4.module+el9.1.0+15718+e52ec601 RHSA-2022:8832
RHEL 9 npm 1:8.19.2-1.16.18.1.3.el9_1 RHSA-2023:0321, RHSA-2022:8832
RHEL 8 nodejs +3 1:14.21.1-2.module+el8.7.0+17528+a329cd47 RHSA-2023:1743, RHSA-2023:0050, RHSA-2022:9073
RHEL 8 nodejs-nodemon 2.0.20-1.module+el8.7.0+17282+f47dd33b RHSA-2023:1743, RHSA-2023:0050, RHSA-2022:9073
RHEL 8 nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83 RHSA-2023:1743, RHSA-2023:0050, RHSA-2022:9073
RHEL 8 nodejs-packaging-bundler 2021.06-4.module+el8.7.0+15582+19c314fa RHSA-2022:8833
RHEL 8 npm 1:6.14.17-1.14.21.1.2.module+el8.7.0+17528+a329cd47 RHSA-2023:1743, RHSA-2023:0050, RHSA-2022:9073
RHEL 3 rh-nodejs14-nodejs +3 14.21.1-3.el7 RHSA-2023:0612
RHEL 3 rh-nodejs14-nodejs-nodemon 2.0.20-2.el7 RHSA-2023:0612
RHEL 3 rh-nodejs14-npm 6.14.17-14.21.1.3.el7 RHSA-2023:0612
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.6 EUS nodejs +3 1:14.21.3-1.module+el8.6.0+18532+cbe6f646 RHSA-2023:1742
RHEL 8.6 EUS nodejs-nodemon 2.0.20-3.module+el8.6.0+18532+cbe6f646 RHSA-2023:1742
RHEL 8.6 EUS nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83 RHSA-2023:1742
RHEL 8.6 EUS npm 1:6.14.18-1.14.21.3.1.module+el8.6.0+18532+cbe6f646 RHSA-2023:1742
RHEL 8.4 EUS nodejs +3 1:14.21.3-1.module+el8.4.0+18317+43f5ac16 RHSA-2023:1533
RHEL 8.4 EUS nodejs-nodemon 2.0.20-3.module+el8.4.0+18317+43f5ac16 RHSA-2023:1533
RHEL 8.4 EUS nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83 RHSA-2023:1533
RHEL 8.4 EUS npm 1:6.14.18-1.14.21.3.1.module+el8.4.0+18317+43f5ac16 RHSA-2023:1533

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nodejs +3 1:16.18.1-3.el9_1 ALSA-2023:0321, ALSA-2022:8832
AlmaLinux 9 nodejs-devel 1:18.12.1-1.module_el9.1.0+16+91bc168f ALSA-2022:8832
AlmaLinux 9 nodejs-nodemon 2.0.20-1.module_el9.1.0+16+91bc168f ALSA-2023:0321, ALSA-2022:8832
AlmaLinux 9 nodejs-packaging +1 2021.06-4.module_el9.1.0+13+d9a595ea ALSA-2022:8832
AlmaLinux 9 npm 1:8.19.2-1.16.18.1.3.el9_1 ALSA-2023:0321, ALSA-2022:8832
AlmaLinux 8 nodejs +3 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 ALSA-2023:1743, ALSA-2023:0050, ALSA-2022:9073
AlmaLinux 8 nodejs-nodemon 2.0.20-1.module_el8.7.0+3370+40ccb2a8 ALSA-2023:1743, ALSA-2023:0050, ALSA-2022:9073
AlmaLinux 8 nodejs-packaging 23-3.module_el8.4.0+2522+3bd42762 ALSA-2023:1743, ALSA-2023:0050, ALSA-2022:9073
AlmaLinux 8 nodejs-packaging-bundler 2021.06-4.module_el8.7.0+3343+ea2b7901 ALSA-2022:8833
AlmaLinux 8 npm 1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43 ALSA-2023:1743, ALSA-2023:0050, ALSA-2022:9073

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 nodejs 1:16.18.1-3.el9_1 RLSA-2023:0321
Rocky Linux 9 nodejs-nodemon 2.0.20-2.el9_1 RLSA-2023:0321
Rocky Linux 9 nodejs-packaging 2021.06-4.module+el9.5.0+31770+0da7192d RLSA-2022:8832
Rocky Linux 8 nodejs 1:14.21.1-2.module+el8.7.0+1116+bd2a84b4 RLSA-2023:1743, RLSA-2023:0050, RLSA-2022:9073
Rocky Linux 8 nodejs-nodemon 2.0.20-1.module+el8.7.0+1104+549f92a6 RLSA-2023:1743, RLSA-2023:0050, RLSA-2022:9073
Rocky Linux 8 nodejs-packaging 23-3.module+el8.3.0+100+234774f7 RLSA-2023:1743, RLSA-2023:0050, RLSA-2022:9073

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 js-jquery +1 No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 nodejs +3 1:16.18.1-3.el9_1 ELSA-2023-0321, ELSA-2022-8832
Oracle Linux 9 nodejs-devel 1:18.12.1-1.module+el9.1.0+20891+3d7d56a4 ELSA-2022-8832
Oracle Linux 9 nodejs-nodemon 2.0.20-1.module+el9.1.0+20891+3d7d56a4 ELSA-2023-0321, ELSA-2022-8832
Oracle Linux 9 nodejs-packaging +1 2021.06-4.module+el9.1.0+20762+f52d7401 ELSA-2022-8832
Oracle Linux 9 npm 1:8.19.2-1.16.18.1.3.el9_1 ELSA-2023-0321, ELSA-2022-8832
Oracle Linux 8 nodejs +3 1:14.21.1-2.module+el8.7.0+20895+79a25710 ELSA-2023-1743, ELSA-2023-0050, ELSA-2022-8833
Oracle Linux 8 nodejs-nodemon 2.0.20-1.module+el8.7.0+20890+579912a9 ELSA-2023-1743, ELSA-2023-0050, ELSA-2022-8833
Oracle Linux 8 nodejs-packaging 23-3.module+el8.3.0+7818+6cd30d85 ELSA-2023-1743, ELSA-2023-0050, ELSA-2022-8833
Oracle Linux 8 nodejs-packaging-bundler 2021.06-4.module+el8.7.0+20766+0a247725 ELSA-2022-8833
Oracle Linux 8 npm 1:6.14.17-1.14.21.1.2.module+el8.7.0+20895+79a25710 ELSA-2023-1743, ELSA-2023-0050, ELSA-2022-8833

Affected packages

EcosystemPackageAffectedFixedRecord
npm minimatch < 3.0.5 3.0.5 GHSA-f8q6-p94x-37v3

Advisories 36

References