CVE-2024-4067
published medium CVSS 3.1 · 5.3Regular Expression Denial of Service in micromatch
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| micromatch | — | micromatch0 to < 4.0.8 (affected · cpe) · 4.0.8 (unaffected · cpe) · Other versions: unaffected | Version-specific | Not stated | Checkmarx |
| micromatch | — | micromatch0 to < 4.0.8 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | SLE-15-SP6 | pgadmin4noarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | SLE-15-SP6 | pgadmin4-docnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | SLE-15-SP6 | system-user-pgadminnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | SLE-3-SP6 | pgadmin4noarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | SLE-3-SP6 | pgadmin4-docnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | SLE-3-SP6 | system-user-pgadminnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
Show 38 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.6 | pgadmin4noarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pgadmin4-cloudnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pgadmin4-desktopnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pgadmin4-docnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pgadmin4-web-uwsginoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | system-user-pgadminnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-plotlyaarch64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-plotlyppc64le | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-plotlys390x | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jupyter-plotlyx86_64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-plotlyaarch64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-plotlyppc64le | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-plotlys390x | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-plotlyx86_64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-plotly-jupyteraarch64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-plotly-jupyterppc64le | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-plotly-jupyters390x | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-plotly-jupyterx86_64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-plotlyaarch64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-plotlyppc64le | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-plotlys390x | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-plotlyx86_64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-plotly-jupyteraarch64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-plotly-jupyterppc64le | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-plotly-jupyters390x | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-plotly-jupyterx86_64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-plotlyaarch64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-plotlyppc64le | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-plotlys390x | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-plotlyx86_64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-plotly-jupyteraarch64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-plotly-jupyterppc64le | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-plotly-jupyters390x | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-plotly-jupyterx86_64 | Advisory build | 5.22.0-1.1 | OPENSUSE-SU-2024:14007-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptoraarch64 | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorppc64le | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptors390x | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorx86_64 | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
Description
The NPM package `micromatch` prior to 4.0.8 is vulnerable to Regular Expression Denial of Service (ReDoS). The vulnerability occurs in `micromatch.braces()` in `index.js` because the pattern `.*` will greedily match anything. By passing a malicious payload, the pattern matching will keep backtracking to the input while it doesn't find the closing bracket. As the input size increases, the consumption time will also increase until it causes the application to hang or slow down. There was a merged fix but further testing shows the issue persists. This issue should be mitigated by using a safe pattern that won't start backtracking the regular expression due to greedy matching. This issue was fixed in version 4.0.8.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- Checkmarx · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| micromatch | micromatch | 0 to < 4.0.8 (affected · cpe)4.0.8 (unaffected · cpe)Default: unaffected | Checkmarx · cna |
| micromatch | micromatch | 0 to < 4.0.8 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
8- https://advisory.checkmarx.net/advisory/CVE-2024-4067/
- https://devhub.checkmarx.com/cve-details/CVE-2024-4067/
- https://github.com/micromatch/micromatch/blob/2c56a8604b68c1099e7bc0f807ce0865a339747a/index.js#L448
- https://github.com/micromatch/micromatch/commit/03aa8052171e878897eee5d7bb2ae0ae83ec2ade
- https://github.com/micromatch/micromatch/issues/243
- https://github.com/micromatch/micromatch/pull/247
- https://github.com/micromatch/micromatch/pull/266
- https://github.com/micromatch/micromatch/releases/tag/4.0.8
Provider assertions
3Checkmarx · cna
Regular Expression Denial of Service in micromatch
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ee798416381abd1f35f136fe271e8c718337fde35e60f20023b1404f8a1653d0
- Ingested
- 23 Sep 2026, 08:29:21 UTC
- Source record
- Official CVE record