CVE-2021-33502
HIGH 7.5CVSS 3.1ReDoS in normalize-url
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.
- Published
- 24 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-px4h-xg32-q955
- Sources
- NVDJSONOSV GHSA-px4h-xg32-q955JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | normalize-url_project | normalize-urlcpe:2.3:a:normalize-url_project:normalize-url:*:*:*:*:*:node.js:*:* |
>= 4.3.0, < 4.5.1 | 4.5.1 |
| NVD | normalize-url_project | normalize-urlcpe:2.3:a:normalize-url_project:normalize-url:*:*:*:*:*:node.js:*:* |
>= 5.0.0, < 5.3.1 | 5.3.1 |
| NVD | normalize-url_project | normalize-urlcpe:2.3:a:normalize-url_project:normalize-url:6.0.0:*:*:*:*:node.js:*:* |
= 6.0.0 | |
| OSV | npm | normalize-url | >= 4.3.0, < 4.5.1 | 4.5.1 |
| OSV | npm | normalize-url | >= 5.0.0, < 5.3.1 | 5.3.1 |
| OSV | npm | normalize-url | >= 6.0.0, < 6.0.1 | 6.0.1 |
References
- https://github.com/sindresorhus/normalize-url/releases/tag/v6.0.1 · Release Notes, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210706-0001/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-33502 · ADVISORY
- https://github.com/sindresorhus/normalize-url/commit/b1fdb5120b6d27a88400d8800e67ff5a22bd2103 · WEB
- https://github.com/sindresorhus/normalize-url · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 24 May 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Jun 2021)