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=(.*).
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | postcss | >= unspecified, < 8.2.13 |
References
- https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640Exploit, Patch, Third Party Advisory
- https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640Exploit, Patch, Third Party Advisory
Timeline
- Published
- Apr 26, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified