Skip to content
5.3 Medium

CVE-2022-25918 The package shescape from 1.5.10 and before 1.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the…

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.

Affected products and versions

Product Affected versions Fixed in
shescape 1.6 earliest → < 1.6.1 1.6.1
shescape 1.5 1.5.10 → latest No fix stated
Track this CVE