Ubuntu CVE Tracker
UBUNTU-CVE-2021-23382
Details
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=(.*).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | node-postcss | All versions, no fix listed |
| Ubuntu:22.04:LTS | node-postcss | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2021-23382
- https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640
- https://github.com/postcss/postcss/commit/2ad1ca9b965dde32223bee28dc259c339cbaaa05
- https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641
- https://www.cve.org/CVERecord?id=CVE-2021-23382