GO-2021-0113

    Dashboard / Vulnerabilities / GO-2021-0113

    GO-2021-0113

    Published: 6 Oct 2021Last Modified: 4 Feb 2026

    Summary: Out-of-bounds read in golang.org/x/text/language

    Details: Due to improper index calculation, an incorrectly formatted language tag can cause Parse to panic via an out of bounds read. If Parse is used to process untrusted user inputs, this may be used as a vector for a denial of service attack.

    Affected packages

    Package

    Name: golang.org/x/text

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

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.3.7

    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-0113 | CVE-DB