Skip to content
Heist/ feed
Back to feed
High

node-got, node-yarnpkg — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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
node-got, node-yarnpkg
Affected versions
1.13.0-1build1, 1.13.0-3, 1.19.1-1, 1.22.10+~cs22.25.14-3, 1.22.10+~cs22.25.14-4, 1.22.10+~cs22.25.14-5, 1.22.10+~cs22.25.14-8, 1.22.19+~cs24.27.18-2, 1.22.19+~cs24.27.18-4, 1.22.4-2, 11.8.1+~cs53.13.17-3, 11.8.2+~cs58.7.32-2, 11.8.3+~cs58.7.37-1, 11.8.5+~cs58.13.36-3, 11.8.5+~cs58.13.36-5, 11.8.5+~cs58.13.36-6, 11.8.5+~cs58.13.36-7, 4.0.2+dfsg-3, 4.1.0+dfsg-1, 4.1.0+dfsg-6ubuntu2, 4.1.0+dfsg-7ubuntu1, 7.1.0-1
Fixed versions
Not specified
CVEs
CVE-2021-33502
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:59 UTC · Revision 1

Source evidence

UBUNTU-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:UBUNTU-CVE-2021-33502

node-got

Fixed versions: Not specified

node-got

Fixed versions: Not specified

node-yarnpkg

Fixed versions: Not specified

node-got

Fixed versions: Not specified

node-yarnpkg

Fixed versions: Not specified

node-got

Fixed versions: Not specified

node-yarnpkg

Fixed versions: Not specified

node-got

Fixed versions: Not specified

node-yarnpkg

Fixed versions: Not specified

node-got

Fixed versions: Not specified

node-yarnpkg

Fixed versions: Not specified

node-got

Fixed versions: Not specified

node-yarnpkg

Fixed versions: Not specified

Complete source record
{
  "id": "2a3e3397139d98ef08c28e7e4aea3685b10823884ec0b5b2508d20cfa062576a",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-33502",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-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:UBUNTU-CVE-2021-33502",
    "products": [
      {
        "name": {
          "value": "node-got",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "7.1.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-got",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "7.1.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-yarnpkg",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.13.0-1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.13.0-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.19.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.22.4-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-got",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "11.8.1+~cs53.13.17-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "11.8.2+~cs58.7.32-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "11.8.3+~cs58.7.37-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-yarnpkg",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.22.10+~cs22.25.14-3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.22.10+~cs22.25.14-4",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.22.10+~cs22.25.14-5",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.22.10+~cs22.25.14-8",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-got",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "11.8.5+~cs58.13.36-3",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-yarnpkg",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.22.19+~cs24.27.18-2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.22.19+~cs24.27.18-4",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-got",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "11.8.5+~cs58.13.36-5",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-yarnpkg",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.0.2+dfsg-3",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "4.1.0+dfsg-1",
            "evidence": "/affected/8/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-got",
          "evidence": "/affected/9/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "11.8.5+~cs58.13.36-6",
            "evidence": "/affected/9/versions"
          },
          {
            "value": "11.8.5+~cs58.13.36-7",
            "evidence": "/affected/9/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-yarnpkg",
          "evidence": "/affected/10/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.1.0+dfsg-1",
            "evidence": "/affected/10/versions"
          },
          {
            "value": "4.1.0+dfsg-6ubuntu2",
            "evidence": "/affected/10/versions"
          },
          {
            "value": "4.1.0+dfsg-7ubuntu1",
            "evidence": "/affected/10/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-got",
          "evidence": "/affected/11/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "11.8.5+~cs58.13.36-5",
            "evidence": "/affected/11/versions"
          },
          {
            "value": "11.8.5+~cs58.13.36-6",
            "evidence": "/affected/11/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-yarnpkg",
          "evidence": "/affected/12/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.1.0+dfsg-1",
            "evidence": "/affected/12/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2021-33502",
      "aliases": [
        "UBUNTU-CVE-2021-33502"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-got",
            "purl": "pkg:deb/ubuntu/node-got?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "7.1.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-got",
                "binary_version": "7.1.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-got",
            "purl": "pkg:deb/ubuntu/node-got?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "7.1.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-got",
                "binary_version": "7.1.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-yarnpkg",
            "purl": "pkg:deb/ubuntu/node-yarnpkg?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.13.0-1build1",
            "1.13.0-3",
            "1.19.1-1",
            "1.22.4-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yarnpkg",
                "binary_version": "1.22.4-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-got",
            "purl": "pkg:deb/ubuntu/node-got?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "11.8.1+~cs53.13.17-3",
            "11.8.2+~cs58.7.32-2",
            "11.8.3+~cs58.7.37-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-got",
                "binary_version": "11.8.3+~cs58.7.37-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-yarnpkg",
            "purl": "pkg:deb/ubuntu/node-yarnpkg?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.22.10+~cs22.25.14-3",
            "1.22.10+~cs22.25.14-4",
            "1.22.10+~cs22.25.14-5",
            "1.22.10+~cs22.25.14-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yarnpkg",
                "binary_version": "1.22.10+~cs22.25.14-8"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-got",
            "purl": "pkg:deb/ubuntu/node-got?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "11.8.5+~cs58.13.36-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-got",
                "binary_version": "11.8.5+~cs58.13.36-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-yarnpkg",
            "purl": "pkg:deb/ubuntu/node-yarnpkg?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.22.19+~cs24.27.18-2",
            "1.22.19+~cs24.27.18-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yarnpkg",
                "binary_version": "1.22.19+~cs24.27.18-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-got",
            "purl": "pkg:deb/ubuntu/node-got?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "11.8.5+~cs58.13.36-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-got",
                "binary_version": "11.8.5+~cs58.13.36-5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-yarnpkg",
            "purl": "pkg:deb/ubuntu/node-yarnpkg?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "4.0.2+dfsg-3",
            "4.1.0+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yarnpkg",
                "binary_version": "4.1.0+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-got",
            "purl": "pkg:deb/ubuntu/node-got?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "11.8.5+~cs58.13.36-6",
            "11.8.5+~cs58.13.36-7"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-got",
                "binary_version": "11.8.5+~cs58.13.36-7"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-yarnpkg",
            "purl": "pkg:deb/ubuntu/node-yarnpkg?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "4.1.0+dfsg-1",
            "4.1.0+dfsg-6ubuntu2",
            "4.1.0+dfsg-7ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yarnpkg",
                "binary_version": "4.1.0+dfsg-7ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-got",
            "purl": "pkg:deb/ubuntu/node-got?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "11.8.5+~cs58.13.36-5",
            "11.8.5+~cs58.13.36-6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-got",
                "binary_version": "11.8.5+~cs58.13.36-6"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-yarnpkg",
            "purl": "pkg:deb/ubuntu/node-yarnpkg?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "4.1.0+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33502.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yarnpkg",
                "binary_version": "4.1.0+dfsg-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:19.693578066Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-33502"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2021-33502",
        "https://github.com/sindresorhus/normalize-url/releases/tag/v6.0.1",
        "https://www.cve.org/CVERecord?id=CVE-2021-33502"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-33502",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355282,
  "published_at": "2021-05-24T16:15:00+00:00"
}