Skip to content
OpenAdvisories
Medium · 5.3 CVE-2022-25918 EUVD-2022-7081GHSA-cr84-xvw4-qx3c

Regular Expression Denial of Service (ReDoS)

Published Oct 27, 2022 · Updated May 5, 2025 · Assigned by snyk

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

VendorProductAffectedFixed
— shescape 1.5.10 – < unspecified, unspecified – < 1.6.1 unspecified

Affected packages

EcosystemPackageAffectedFixedRecord
npm shescape >= 1.5.10, < 1.6.1 1.6.1 GHSA-cr84-xvw4-qx3c

References