CVE-2021-23382
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | postcss | unspecified < 8.2.13 | affected |
Weaknesses
- Regular Expression Denial of Service (ReDoS)
ADP Enrichment
CVE Program Container
Additional References
- https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641
- https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956
References
- https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1255641
- https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.