Skip to content

ReDoS in normalize-url

High severity GitHub Reviewed Published Jun 8, 2021 to the GitHub Advisory Database • Updated Nov 29, 2023

Package

npm normalize-url (npm)

Affected versions

>= 5.0.0, < 5.3.1
>= 6.0.0, < 6.0.1
>= 4.3.0, < 4.5.1

Patched versions

5.3.1
6.0.1
4.5.1

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.

References

Published by the National Vulnerability Database May 24, 2021
Reviewed May 28, 2021
Published to the GitHub Advisory Database Jun 8, 2021
Last updated Nov 29, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2021-33502

GHSA ID

GHSA-px4h-xg32-q955
Checking history
See something to contribute? Suggest improvements for this vulnerability.