CVE-2021-23382Published Apr 26, 2021 · Apr 26Updated Oct 20
Regular Expression Denial of Service (ReDoS)
postcss
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| postcss npm |
|
|
Original 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=(.*).
From the CVE record · snyk