Description
The normalize-url package before 4.5.1, 5.x before 5.3.1, and 6.x before 6.0.1 for Node.js has a ReDoS (regular expression denial of service) issue because it has exponential performance for data: URLs.
Recommendation
Update the normalize-url package to the latest compatible version. Followings are version details:
Affected version(s): **>= 4.3.0, < 4.5.1 >= 6.0.0, < 6.0.1 >= 5.0.0, < 5.3.1** Patched version(s): **4.5.1 6.0.1 5.3.1**
References
Could your website be exposed too?
SmartScanner can check your website for ReDoS in normalize-url and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Cross-site Scripting in sanitize-url - CVE-2021-23648
- Regular Expression Denial of Service (REDoS) in Marked - CVE-2021-21306
- Regular Expression Denial of Service (ReDoS) - ssri - CVE-2021-27290
- Regular Expression Denial of Service (ReDoS) - CVE-2021-28092
You might also like:
See something that needs correcting? Let us knowUpdated November 29, 2023


