CVE-2021-23382

MEDIUM

Postcss < 7.0.36 - Denial of Service

Title source: rule
STIX 2.1

Description

The package postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern \/\*\s* sourceMappingURL=(.*).

References (3)

Core 3
Core References
Exploit, Patch, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640
Exploit, Patch, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641

Scores

CVSS v3 5.3
EPSS 0.0007
EPSS Percentile 21.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Details

CWE
CWE-1333
Status published
Products (2)
npm/postcss 8.0.0 - 8.2.13npm
postcss/postcss < 7.0.36
Published Apr 26, 2021
Tracked Since Feb 18, 2026