Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. golang.org/x/net/html
  4. ›
  5. CVE-2021-33194

CVE-2021-33194: Loop with Unreachable Exit Condition ('Infinite Loop')

May 24, 2022 (updated February 8, 2023)

golang.org/x/net before v0.0.0-20210520170846-37e1c6afe023 allows attackers to cause a denial of service (infinite loop) via crafted ParseFragment input.

References

  • github.com/advisories/GHSA-83g2-8m93-v3w7
  • github.com/golang/net/commit/37e1c6afe02340126705deced573a85ab75209d7
  • go.dev/cl/311090
  • go.dev/issue/46288
  • go.googlesource.com/net/+/37e1c6afe02340126705deced573a85ab75209d7
  • groups.google.com/g/golang-announce/c/wPunbCPkWUg
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4CHKSFMHZVOBCZSSVRE3UEYNKARTBMTM/
  • nvd.nist.gov/vuln/detail/CVE-2021-33194
  • pkg.go.dev/vuln/GO-2021-0238

Code Behaviors & Features

Detect and mitigate CVE-2021-33194 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.0-20210520170846-37e1c6afe023

Fixed versions

  • 0.0.0-20210520170846-37e1c6afe023

Solution

Upgrade to version 0.0.0-20210520170846-37e1c6afe023 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

go/golang.org/x/net/html/CVE-2021-33194.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:14 +0000.