CVE-2021-38561
Summary
| CVE | CVE-2021-38561 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-12-26 06:15:00 UTC |
| Updated | 2023-01-05 04:52:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-125
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 383b2e75a7a4198c42f8f87833eefb772868a56f - text - Git at Google | MISC | go.googlesource.com | |
| Open Source Insights | CONFIRM | deps.dev | |
| language package - golang.org/x/text/language - pkg.go.dev | MISC | pkg.go.dev | |
| golang-announce - Google Groups | MISC | groups.google.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 182735 Debian Security Update for golang-golang-x-text (CVE-2021-38561)
- 199182 Ubuntu Security Notification for Go Text Vulnerabilities (USN-5873-1)
- 378883 Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)
- 502288 Alpine Linux Security Update for git-lfs
- 6120011 Google COS Security Update for dev-go/text (CVE-2021-38561)