CVE-2022-25918Published Oct 27, 2022 · Oct 27Updated Oct 28
Regular Expression Denial of Service (ReDoS)
shescape
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| shescape npm |
|
|
Original description
The package shescape from 1.5.10 and before 1.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the escape function in index.js, due to the usage of insecure regex in the escapeArgBash function.
From the CVE record · snyk