path-to-regexp vulnerable to Denial of Service via sequential optional groups
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| path-to-regexp | path-to-regexp | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Path-to-regexp | Path-to-regexp |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-j3q9-mxjg-w52f | path-to-regexp vulnerable to Denial of Service via sequential optional groups |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.823% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pillarjs
Pillarjs path-to-regexp |
|
| CPEs | cpe:2.3:a:pillarjs:path-to-regexp:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Pillarjs
Pillarjs path-to-regexp |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Path-to-regexp
Path-to-regexp path-to-regexp |
|
| Vendors & Products |
Path-to-regexp
Path-to-regexp path-to-regexp |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Impact: A bad regular expression is generated any time you have multiple sequential optional groups (curly brace syntax), such as `{a}{b}{c}:z`. The generated regex grows exponentially with the number of groups, causing denial of service. Patches: Fixed in version 8.4.0. Workarounds: Limit the number of sequential optional groups in route patterns. Avoid passing user-controlled input as route patterns. | |
| Title | path-to-regexp vulnerable to Denial of Service via sequential optional groups | |
| Weaknesses | CWE-1333 CWE-400 |
|
| References |
| |
| Metrics |
cvssV3_1
|