Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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