path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards
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-27v5-c462-wpq7 | path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.367% probability within 30 days)
| 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 |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| 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: When using multiple wildcards, combined with at least one parameter, a regular expression can be generated that is vulnerable to ReDoS. This backtracking vulnerability requires the second wildcard to be somewhere other than the end of the path. Unsafe examples: /*foo-*bar-:baz /*a-:b-*c-:d /x/*a-:b/*c/y Safe examples: /*foo-:bar /*foo-:bar-*baz Patches: Upgrade to version 8.4.0. Workarounds: If you are using multiple wildcard parameters, you can check the regex output with a tool such as https://makenowjust-labs.github.io/recheck/playground/ to confirm whether a path is vulnerable. | |
| Title | path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards | |
| Weaknesses | CWE-1333 | |
| References |
| |
| Metrics |
cvssV3_1
|