title: Regular Expression Denial of Service (ReDoS)
description: The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.
problem types: Regular Expression Denial of Service (ReDoS)
affected:
{
product: terser
vendor: n/a
versions:
lessThan: 4.8.1, status: affected, version: unspecified, versionType: custom
lessThan: unspecified, status: affected, version: 5.0.0, versionType: custom
lessThan: 5.14.2, status: affected, version: unspecified, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 5.3
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
version: 3.1
]