Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2021-38561 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 14, 2025Exploitation: NoneAutomatable: YesTechnical Impact: Partial
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://deps.dev/advisory/OSV/GO-2021-0113 | CVE | PatchThird Party Advisory |
| https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f | CVE | Mailing ListPatchVendor Advisory |
| https://groups.google.com/g/golang-announce | CVE | Mailing ListThird Party Advisory |
| https://pkg.go.dev/golang.org/x/text/language | CVE | ProductVendor Advisory |
| https://deps.dev/advisory/OSV/GO-2021-0113 | [email protected] | PatchThird Party Advisory |
| https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f | [email protected] | Mailing ListPatchVendor Advisory |
| https://groups.google.com/g/golang-announce | [email protected] | Mailing ListThird Party Advisory |
| https://pkg.go.dev/golang.org/x/text/language | [email protected] | ProductVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-125 | Out-of-bounds Read | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| golang text | < 0.3.7 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 14, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jan 5, 2023 | Initial Analysis | [email protected] |