CVE-2022-25918
Medium
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.
SeverityMedium
CVSS5.3
Exploit probability—
ProductShescape
PublishedOct 27, 2022
First seenOct 27, 2022
Weakness typeCWE-1333CWE-1333
How to fix
Update
- shescape1.6.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| shescape_project shescape | 1.5.10, 1.6.0 | — |
| shescapenpm | 1.5.10 ≤ v < 1.6.1 | 1.6.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.