~ / search / GHSA-ppp9-7jff-5vj2

GHSA-ppp9-7jff-5vj2

golang.org/x/text/language Out-of-bounds Read vulnerability

Source: GitHub Advisory Database (reviewed) High CVE-2021-38561

Packages

EcosystemPackageAffectedFixed in
Go golang.org/x/text < 0.3.7 0.3.7

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.