CVE-2022-25918
Last modified
CVE-2022-25918 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 1.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Shescape Project | Shescape | 1.5.10 |
| Shescape Project | Shescape | 1.6.0 |
References
- https://github.com/ericcornelissen/shescape/commit/552e8eab56861720b1d4e5474fb65741643358f9Patch, Third Party Advisory
- https://github.com/ericcornelissen/shescape/releases/tag/v1.6.1Release Notes, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SHESCAPE-3061108Exploit, Patch, Third Party Advisory
- https://github.com/ericcornelissen/shescape/commit/552e8eab56861720b1d4e5474fb65741643358f9Patch, Third Party Advisory
- https://github.com/ericcornelissen/shescape/releases/tag/v1.6.1Release Notes, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SHESCAPE-3061108Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25918?
How severe is CVE-2022-25918?
How do I fix CVE-2022-25918?
Are you affected by CVE-2022-25918?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
