GitHub Advisoryadvisory · npm

GHSA-px4h-xg32-q955 ReDoS in normalize-url

HIGH Published 2021-06-08 Modified 2021-10-27 Official page ↗
Aliases
CVE-2021-33502
Ecosystem
npm
Packages
normalize-url
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400
Reviewed
2021-05-28

Affected packages

• npm normalize-url: >= 4.3.0, < 4.5.1 → fixed in 4.5.1 • npm normalize-url: >= 5.0.0, < 5.3.1 → fixed in 5.3.1 • npm normalize-url: >= 6.0.0, < 6.0.1 → fixed in 6.0.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.

Related

Alias · CVE (1)

  • CVE-2021-33502 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… vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References