{"id":"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.","aliases":["CVE-2021-38561","GO-2021-0113"],"modified":"2026-02-04T03:24:32.877720Z","published":"2022-12-26T06:30:22Z","related":["CGA-rxmv-qq37-m2jc"],"database_specific":{"cwe_ids":["CWE-125"],"severity":"HIGH","nvd_published_at":"2022-12-26T06:15:00Z","github_reviewed":true,"github_reviewed_at":"2023-01-09T20:02:12Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38561"},{"type":"WEB","url":"https://deps.dev/advisory/OSV/GO-2021-0113"},{"type":"WEB","url":"https://go.dev/cl/340830"},{"type":"WEB","url":"https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce"},{"type":"WEB","url":"https://pkg.go.dev/golang.org/x/text/language"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0113"}],"affected":[{"package":{"name":"golang.org/x/text","ecosystem":"Go","purl":"pkg:golang/golang.org/x/text"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-ppp9-7jff-5vj2/GHSA-ppp9-7jff-5vj2.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}