CVE-2022-25918 Regular Expression Denial of Service (ReDoS)
HighCVSS 7.5
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm shescape(npm) | >= 1.5.10, < 1.6.1 | 1.6.1 | Fixed |
| shescape project shescape | = 1.5.10; = 1.6.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm shescape(npm) | >= 1.5.10, < 1.6.1 | 1.6.1 |
| shescape project shescape | = 1.5.10 | No fix listed |
| shescape project shescape | = 1.6.0 | No fix listed |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com broken-link
- github.com release-notes third-party-advisory
- security.snyk.io exploit patch third-party-advisory
- github.com
- github.com product