GHSA-ppp9-7jff-5vj2
Dashboard / Vulnerabilities / GHSA-ppp9-7jff-5vj2
GHSA-ppp9-7jff-5vj2
Summary: golang.org/x/text/language Out-of-bounds Read vulnerability
Details: 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: https://nvd.nist.gov/vuln/detail/CVE-2021-38561, https://deps.dev/advisory/OSV/GO-2021-0113, https://go.dev/cl/340830, https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f, https://groups.google.com/g/golang-announce, https://pkg.go.dev/golang.org/x/text/language, https://pkg.go.dev/vuln/GO-2021-0113
Affected packages
Package
Name: golang.org/x/text
Purl: pkg:golang/golang.org/x/text
Affected ranges
Type: SEMVER
Events:
