Description
The package postcss versions before 7.0.36 or between 8.0.0 and 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
Recommendation
Update the postcss package to the latest compatible version. Followings are version details:
Affected version(s): **< 7.0.36 >= 8.0.0, < 8.2.13** Patched version(s): **7.0.36 8.2.13**
References
Related Issues
- Regular Expression Denial of Service in postcss - postcss - CVE-2021-23368
- Regular Expression Denial of Service in jsoneditor - CVE-2021-3822
- Regular Expression Denial of Service (ReDoS) - ssri - CVE-2021-27290
- html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS) - CVE-2021-23346
You might also like:
- Tags:
- npm
- postcss
Anything's wrong? Let us know Last updated on September 08, 2023


