Description
In the npm package color-string, there is a ReDos (Regular Expression Denial of Service) vulnerability regarding an exponential time complexity for linearly increasing input lengths for hwb() color strings.
Recommendation
Update the color-string package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.5.5
- Patched version(s): 1.5.5
References
Could your website be exposed too?
SmartScanner can check your website for Regular Expression Denial of Service (ReDOS) - color-string and gives you actionable findings to investigate.
Start a free scanRelated Issues
- html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS) - CVE-2021-23346
- html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS) - html-parse-stringify - CVE-2021-23346
- Regular Expression Denial of Service (REDoS) in Marked - CVE-2021-21306
- Regular Expression Denial of Service (ReDoS) in Prism - CVE-2021-32723


