Vulnerability library
Security checkNovember 29, 2023

ReDoS in normalize-url

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmnormalize-url

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated November 29, 2023