GO-2021-0238

    Dashboard / Vulnerabilities / GO-2021-0238

    GO-2021-0238

    Published: 17 Feb 2022Last Modified: 4 Feb 2026

    Summary: Infinite loop when parsing inputs in golang.org/x/net/html

    Details: An attacker can craft an input to ParseFragment that causes it to enter an infinite loop and never return.

    Affected packages

    Package

    Name: golang.org/x/net

    Purl: pkg:golang/golang.org/x/net

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.0.0-20210520170846-37e1c6afe023

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GO-2021-0238 | CVE-DB