high7.5
CVE-2021-33502
ReDoS in normalize-url
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | normalize-url | >= 5.0.0, < 5.3.1 | 5.3.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Normalize-Url Project | Normalize-Url | from 4.3.0 before 4.5.1 from 5.0.0 before 5.3.1 Version 6.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/sindresorhus/normalize-url/releases/tag/v6.0.1
- https://security.netapp.com/advisory/ntap-20210706-0001/
- https://github.com/advisories/GHSA-px4h-xg32-q955
- https://nvd.nist.gov/vuln/detail/CVE-2021-33502
- https://github.com/sindresorhus/normalize-url/commit/b1fdb5120b6d27a88400d8800e67ff5a22bd2103