Go Vulnerability Database
GO-2021-0113
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | golang.org/x/text | All versions before 0.3.7 (fixed in 0.3.7) |