VULNERABILITY INTELLIGENCE
CVE-2022-25918
CVSS score5.3 MEDIUM
EPSS probability1.63%
CISA KEVNot currently listed
Published2022-10-27
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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.
Weakness classification
- nvd@nist.gov: CWE-1333
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-1333
Primary references
- report@snyk.io — Broken Link
- report@snyk.io — Patch, Third Party Advisory
- report@snyk.io — Release Notes, Third Party Advisory
- report@snyk.io — Exploit, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Broken Link
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Patch, Third Party Advisory