title: Regular Expression Denial of Service (ReDoS)
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.
problem types: Regular Expression Denial of Service (ReDoS)
affected:
{
vendor: n/a
product: shescape
versions:
version: 1.5.10, status: affected, lessThan: unspecified, versionType: custom
version: unspecified, lessThan: 1.6.1, status: affected, versionType: custom
}
metrics:
cvssV3_1: [
version: 3.1
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: LOW
baseScore: 5.3
baseSeverity: MEDIUM
]