Out-of-bounds Read in Golang Text
CVE-2021-38561
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.
Vulnerability class: Buffer Overflow
EPSS: 0.014 (68.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Golang Text
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Mailing List, Third Party Advisory)
- cve@mitre.org (Patch, Mailing List, Vendor Advisory)
- cve@mitre.org (Patch, Third Party Advisory)
- cve@mitre.org (Product, Vendor Advisory)
Frequently asked questions
- What is CVE-2021-38561?
- CVE-2021-38561 is a high-severity vulnerability in Golang Text, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2022-12-26.
- How severe is CVE-2021-38561?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2021-38561 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.