Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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 service) issue because it has exponential performance for data: URLs.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-33502
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:48 UTC · Revision 1

Source evidence

CVE-2021-33502

core-osv · Original source

Published 24 May 2021, 16:15 UTC

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.

osv:CVE-2021-33502
Complete source record
{
  "id": "4423d6b271289829728fece6104c5c489d56f29f6ad25a4a58bb9ab8a42e2f78",
  "url": "https://osv.dev/vulnerability/CVE-2021-33502",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-33502",
    "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.",
    "evidence": "osv:CVE-2021-33502",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-33502",
      "aliases": [
        "CVE-2021-33502",
        "GHSA-px4h-xg32-q955"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sindresorhus/normalize-url",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b98fe7e378441b83c30b2d6fb70645eeec61bbc7"
                },
                {
                  "last_affected": "b98fe7e378441b83c30b2d6fb70645eeec61bbc7"
                },
                {
                  "fixed": "305e3f22efb87505d3bc87c17c50b1ef67789acb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:normalize-url_project:normalize-url:6.0.0:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "6.0.0"
                      },
                      {
                        "last_affected": "6.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "305e3f22efb87505d3bc87c17c50b1ef67789acb"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v6.0.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.0.0",
            "v6.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33502.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:44.923308480Z",
      "provider": "osv",
      "references": [
        "https://github.com/sindresorhus/normalize-url/releases/tag/v6.0.1",
        "https://security.netapp.com/advisory/ntap-20210706-0001/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:normalize-url_project:normalize-url:*:*:*:*:*:node.js:*:*"
            ],
            "vendor_product": "normalize-url_project:normalize-url",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.3.0"
                  },
                  {
                    "fixed": "4.5.1"
                  },
                  {
                    "introduced": "5.0.0"
                  },
                  {
                    "fixed": "5.3.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-33502",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386066,
  "published_at": "2021-05-24T16:15:08.133+00:00"
}