{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-38561","published":"2022-12-26T06:15:10.560000Z","last_modified":"2026-06-17T04:02:21.823000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-125"],"cpes":[{"criteria":"cpe:2.3:a:golang:text:*:*:*:*:*:*:*:*","part":"a","vendor":"golang","product":"text","version_end_excluding":"0.3.7"}],"cpes_truncated":false,"vendors":["golang"],"products":["golang/text"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.01484,"percentile":0.74294,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-ppp9-7jff-5vj2","ecosystem":"Go","name":"golang.org/x/text","purl":"pkg:golang/golang.org/x/text","ranges":[{"introduced":"0","fixed":"0.3.7"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2021-0113","ecosystem":"Go","name":"golang.org/x/text","purl":"pkg:golang/golang.org/x/text","ranges":[{"introduced":"0","fixed":"0.3.7"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-38561/","html_en":"/en/cve/CVE-2021-38561/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-38561","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-38561"},"untrusted":{"vendor_name":"Golang","product_name":"Text","desc_en":"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.","affected":[],"references":[{"url":"https://deps.dev/advisory/OSV/GO-2021-0113","tags":["Patch","Third Party Advisory"]},{"url":"https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f","tags":["Mailing List","Patch","Vendor Advisory"]},{"url":"https://groups.google.com/g/golang-announce","tags":["Mailing List","Third Party Advisory"]},{"url":"https://pkg.go.dev/golang.org/x/text/language","tags":["Product","Vendor Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2023:0407","url":"https://access.redhat.com/errata/RHSA-2023:0407","published":"2024-09-30T14:30:59+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: OpenShift Virtualization 4.12.0 RPMs security update"}}]}