Golang Text vulnerabilities
4 known vulnerabilities affecting golang/text.
Total CVEs
4
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH4
Vulnerabilities
Page 1 of 1
CVE-2021-38561HIGHCVSS 7.5fixed in 0.3.72022-12-26
CVE-2021-38561 [HIGH] CWE-125 CVE-2021-38561: golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read du
golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.
nvd
CVE-2022-32149HIGHCVSS 7.5fixed in 0.3.82022-10-14
CVE-2022-32149 [HIGH] CWE-772 CVE-2022-32149: An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLan
An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse.
nvd
CVE-2020-28852HIGHCVSS 7.5fixed in 0.3.52021-01-02
CVE-2020-28852 [HIGH] CWE-129 CVE-2020-28852: In x/text in Go before v0.3.5, a "slice bounds out of range" panic occurs in language.ParseAcceptLan
In x/text in Go before v0.3.5, a "slice bounds out of range" panic occurs in language.ParseAcceptLanguage while processing a BCP 47 tag. (x/text/language is supposed to be able to parse an HTTP Accept-Language header.)
nvd
CVE-2020-14040HIGHCVSS 7.5fixed in 0.3.32020-06-17
CVE-2020-14040 [HIGH] CWE-835 CVE-2020-14040: The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to th
The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Dec
nvd