CVE-2024-45296
published high CVSS 3.1 · 7.5path-to-regexp outputs backtracking regular expressions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pillarjs | — | path-to-regexp< 0.1.10 · >= 0.2.0, < 8.0.0 | Affected | Not stated | GitHub_M |
| pillarjs | — | path-to-regexp0 to < 0.1.0 · 0.2.0 to < 8.0.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cliaarch64 | Advisory build | 2.12.4-1.1 | OPENSUSE-SU-2024:14374-1 |
| Ubuntu | bionic | node-path-to-regexp | Advisory build | 1.0.1-1ubuntu0.18.04.1~esm1 | USN-8290-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-clippc64le | Advisory build | 2.12.4-1.1 | OPENSUSE-SU-2024:14374-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-clis390x | Advisory build | 2.12.4-1.1 | OPENSUSE-SU-2024:14374-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-clix86_64 | Advisory build | 2.12.4-1.1 | OPENSUSE-SU-2024:14374-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-bash-completionaarch64 | Advisory build | 2.12.4-1.1 | OPENSUSE-SU-2024:14374-1 |
Show 15 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-bash-completionppc64le | Advisory build | 2.12.4-1.1 | OPENSUSE-SU-2024:14374-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-bash-completions390x | Advisory build | 2.12.4-1.1 | OPENSUSE-SU-2024:14374-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-bash-completionx86_64 | Advisory build | 2.12.4-1.1 | OPENSUSE-SU-2024:14374-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-zsh-completionaarch64 | Advisory build | 2.12.4-1.1 | OPENSUSE-SU-2024:14374-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-zsh-completionppc64le | Advisory build | 2.12.4-1.1 | OPENSUSE-SU-2024:14374-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-zsh-completions390x | Advisory build | 2.12.4-1.1 | OPENSUSE-SU-2024:14374-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-zsh-completionx86_64 | Advisory build | 2.12.4-1.1 | OPENSUSE-SU-2024:14374-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 |
| Ubuntu | focal | node-path-to-regexp | Advisory build | 6.1.0-2ubuntu0.1~esm1 | USN-8290-1 |
| Ubuntu | jammy | node-path-to-regexp | Advisory build | 6.2.0-2ubuntu0.1~esm1 | USN-8290-1 |
| Ubuntu | noble | node-path-to-regexp | Advisory build | 6.2.1-1ubuntu0.1~esm1 | USN-8290-1 |
| Ubuntu | xenial | node-path-to-regexp | Advisory build | 1.0.1-1ubuntu0.16.04.1~esm1 | USN-8290-1 |
Description
path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. Because JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and lead to a DoS. The bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (.). For users of 0.1, upgrade to 0.1.10. All other users should upgrade to 8.0.0.
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
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pillarjs | path-to-regexp | < 0.1.10 (affected)>= 0.2.0, < 8.0.0 (affected) | GitHub_M · cna |
| pillarjs | path-to-regexp | 0 to < 0.1.0 (affected · custom)0.2.0 to < 8.0.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
4- https://github.com/pillarjs/path-to-regexp/commit/29b96b4a1de52824e1ca0f49a701183cc4ed476f
- https://github.com/pillarjs/path-to-regexp/commit/60f2121e9b66b7b622cc01080df0aabda9eedee6
- https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-9wv6-86v2-598j
- https://security.netapp.com/advisory/ntap-20250124-0001/
Provider assertions
3GitHub_M · cna
path-to-regexp outputs backtracking regular expressions
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e4c92739f7e56e799f042db0d476c4cee178b2993017811f577de5d5b6b573b9
- Ingested
- 23 Sep 2026, 08:27:47 UTC
- Source record
- Official CVE record