ADVISORIES

GitHub Advisory Database

GHSA-px4h-xg32-q955

ReDoS in normalize-url

Details

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.

Affected packages

EcosystemPackageAffected versions
npmnormalize-url
From 4.3.0 before 4.5.1 (fixed in 4.5.1)
npmnormalize-url
From 5.0.0 before 5.3.1 (fixed in 5.3.1)
npmnormalize-url
From 6.0.0 before 6.0.1 (fixed in 6.0.1)

References