GO-2021-0113

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

At a glance

Published
Updated
CVE
CVE-2021-38561
Aliases
GHSA-ppp9-7jff-5vj2

Description

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

PackageVersions
Go · golang.org/x/textintroduced 0, fixed 0.3.7

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database