Packages / normalize-url / Security

HighVulnerabilityGHSA-px4h-xg32-q955CVE-2021-33502Published 8 Jun 2021

ReDoS in normalize-url

Your version

Affected releases · normalize-url

  • 6.x6.0.0Fixed in 6.0.1
  • 5.x5.0.0 – 5.3.0Fixed in 5.3.1
  • 4.x4.3.0 – 4.5.0Fixed in 4.5.1

On 6.x, the newest line:

npm install normalize-url@6.0.1
Every release on a timeline
10.x
  1. Not affected

    10.0.0

    1 release, latest

6.x
  1. Affected

    6.0.0

    1 release

  2. Fixed

    6.0.1 – 6.1.0

    2 releases

5.x
  1. Affected

    5.0.0 – 5.3.0

    5 releases

  2. Fixed

    5.3.1

    1 release

4.x
  1. Not affected

    4.0.0 – 4.2.0

    3 releases

  2. Affected

    4.3.0 – 4.5.0

    4 releases

  3. Fixed

    4.5.1

    1 release

58 stable releases of normalize-url, oldest to newest, one row per major.

What happens

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.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.