Skip to content
Fencer Vulns
high 7.5

CVE-2021-33502 json

ReDoS in normalize-url

published 2021-05-24 5 y ago modified 2026-06-17 4 mo ago also GHSA-px4h-xg32-q955 , EUVD-2021-1374

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm normalize-url 4.5.1, 5.3.1, 6.0.1
  • normalize-url_project normalize-url 4.5.1, 5.3.1
  • node-got Debian 14, Debian 13, Debian 12 11.8.1+~cs53.13.17-3

debian advisories DEBIAN-CVE-2021-33502

  • npm RHEL 8 1:6.14.15-1.14.18.2.2.module+el8.5.0+13644+8d46dafd
  • nodejs RHEL 8 1:14.18.2-2.module+el8.5.0+13644+8d46dafd
  • nodejs-nodemon RHEL 8 2.0.15-1.module+el8.5.0+13504+a2e74d91
  • nodejs-full-i18n RHEL 8 1:14.18.2-2.module+el8.5.0+13644+8d46dafd
  • nodejs-packaging RHEL 8, RHEL 8.4 EUS 23-3.module+el8.3.0+6519+9f98ed83
  • npm RHEL 8 1:8.1.2-1.16.13.1.3.module+el8.5.0+13548+45d748af
  • nodejs RHEL 8 1:16.13.1-3.module+el8.5.0+13548+45d748af
  • nodejs-nodemon RHEL 8 2.0.15-1.module+el8.5.0+13548+45d748af

red hat advisories RHSA-2022:0350RHSA-2021:5171RHSA-2022:0246RHSA-2022:6595RHSA-2022:4711RHSA-2021:2932

  • nodejs AlmaLinux 9 1:16.16.0-1.el9_0
  • nodejs-nodemon AlmaLinux 9 2.0.19-1.el9_0
  • npm AlmaLinux 9 1:8.11.0-1.16.16.0.1.el9_0
  • nodejs-libs AlmaLinux 9 1:16.16.0-1.el9_0
  • nodejs-full-i18n AlmaLinux 9 1:16.16.0-1.el9_0
  • npm AlmaLinux 8 1:6.14.15-1.14.18.2.2.module_el8.5.0+2618+8d46dafd
  • npm AlmaLinux 8 1:6.14.15-1.14.18.2.2.module_el8.5.0+254+b4526b16
  • nodejs AlmaLinux 8 1:14.18.2-2.module_el8.5.0+2618+8d46dafd

almalinux advisories ALSA-2022:6595ALSA-2022:0350ALSA-2021:5171

  • nodejs-nodemon Rocky Linux 9 2.0.19-1.el9_0
  • nodejs Rocky Linux 8 1:14.18.2-2.module+el8.5.0+733+de4fee6c
  • nodejs-nodemon Rocky Linux 8 2.0.15-1.module+el8.5.0+721+4c107270
  • nodejs-packaging Rocky Linux 8 23-3.module+el8.7.0+1071+4bdda2a8
  • nodejs-packaging Rocky Linux 8 23-3.module+el8.3.0+100+234774f7
  • nodejs-packaging Rocky Linux 8 23-3.module+el8.5.0+733+de4fee6c
  • nodejs Rocky Linux 8 1:16.13.1-3.module+el8.5.0+721+4c107270
  • nodejs-packaging Rocky Linux 8 25-1.module+el8.6.0+1046+80feca58

rocky linux advisories RLSA-2022:6595RLSA-2022:0350RLSA-2021:5171

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-33502 updated cvss 7.5

nodejs-normalize-url: ReDoS for data URLs

  • Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/search-ui-rhel8, rhacm2/search-api-rhel8, rhacm2/mcm-topology-api-rhel8
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux 8 nodejs-nodemon
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux AppStream (v. 8) nodejs 14.18.2-2.module+el8.5.0+13644+8d46dafd, nodejs 16.13.1-3.module+el8.5.0+13548+45d748af, nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83, nodejs-packaging 25-1.module+el8.5.0+10992+fac5fe06, npm 8.1.2-1.16.13.1.3.module+el8.5.0+13548+45d748af, nodejs-nodemon 2.0.15-1.module+el8.5.0+13504+a2e74d91, +4 more
    fixed: vendor fix RHSA-2022:0350
  • Red Hat Enterprise Linux AppStream (v. 9) nodejs-nodemon 2.0.19-1.el9_0
    fixed: vendor fix RHSA-2022:6595
  • Red Hat Enterprise Linux AppStream EUS (v.8.4) nodejs 14.18.2-2.module+el8.4.0+13643+6c0ebf22, nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83, nodejs-nodemon 2.0.15-1.module+el8.4.0+13503+fc29810b, npm 6.14.15-1.14.18.2.2.module+el8.4.0+13643+6c0ebf22, nodejs-full-i18n 14.18.2-2.module+el8.4.0+13643+6c0ebf22
    fixed: vendor fix RHSA-2022:0246
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs12-nodejs 12.22.2-1.el7, rh-nodejs14-nodejs 14.17.2-1.el7, rh-nodejs12-npm 6.14.13-12.22.2.1.el7, rh-nodejs14-npm 6.14.13-14.17.2.1.el7, rh-nodejs12-nodejs-nodemon 2.0.3-2.el7, rh-nodejs14-nodejs-nodemon 2.0.3-2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs12-nodejs 12.22.2-1.el7, rh-nodejs14-nodejs 14.17.2-1.el7, rh-nodejs12-npm 6.14.13-12.22.2.1.el7, rh-nodejs14-npm 6.14.13-14.17.2.1.el7, rh-nodejs12-nodejs-nodemon 2.0.3-2.el7, rh-nodejs14-nodejs-nodemon 2.0.3-2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs12-nodejs 12.22.2-1.el7, rh-nodejs14-nodejs 14.17.2-1.el7, rh-nodejs12-npm 6.14.13-12.22.2.1.el7, rh-nodejs14-npm 6.14.13-14.17.2.1.el7, rh-nodejs12-nodejs-nodemon 2.0.3-2.el7, rh-nodejs14-nodejs-nodemon 2.0.3-2.el7
    fixed: vendor fix RHSA-2021:2931
  • Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 ovirt-web-ui 1.8.1-2.el8ev, ovirt-engine-ui-extensions 1.3.3-1.el8ev
    fixed: vendor fix RHSA-2022:4711
  • Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheus Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/grc-ui-rhel8, rhacm2/console-rhel8, rhacm2/console-ui-rhel8, rhacm2/grc-ui-api-rhel8, rhacm2/mcm-topology-rhel8, rhacm2/application-ui-rhel8, +2 more Red Hat Enterprise Linux AppStream (v. 9) nodejs 16.16.0-1.el9_0, nodejs-libs 16.16.0-1.el9_0, npm 8.11.0-1.16.16.0.1.el9_0, nodejs-full-i18n 16.16.0-1.el9_0 Red Hat OpenShift Container Platform 3.11 kibana Red Hat OpenShift Container Platform 4 kibana, openshift4/ose-console, openshift4/ose-grafana, openshift4/ose-thanos-rhel9, openshift4/ose-prometheus-rhel9 Red Hat Quay 3 quay/quay-rhel8
    +1 more products
    Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 rhvm 4.5.0.7-0.9.el8ev, apache-sshd 2.8.0-0.1.el8ev, ansible-runner 2.1.3-1.el8ev, engine-db-query 1.6.4-1.el8ev, ovirt-engine 4.5.0.7-0.9.el8ev, ovirt-engine-dwh 4.5.2-1.el8ev, +31 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.70% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
npm normalize-url
>=4.3.0, <4.5.1
>=5.0.0, <5.3.1
>=6.0.0, <6.0.1
4.5.1
5.3.1
6.0.1

Classification

Weakness
  • CWE-1333 Inefficient Regular Expression Complexity
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.