CVE-2021-38561
Publication date 26 December 2022
Last updated 26 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| golang-golang-x-text | 25.10 questing |
Fixed 0.3.7-1
|
| 25.04 plucky |
Fixed 0.3.7-1
|
|
| 24.04 LTS noble |
Fixed 0.3.7-1
|
|
| 22.04 LTS jammy |
Fixed 0.3.7-1
|
|
| 20.04 LTS focal |
Fixed 0.3.2-4ubuntu0.1
|
|
| 18.04 LTS bionic | Not in release | |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release | |
| golang-x-text | 25.10 questing | Not in release |
| 25.04 plucky | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Ignored transitional package | |
| 18.04 LTS bionic |
Fixed 0.0~git20170627.0.6353ef0-1ubuntu2.1
|
|
| 16.04 LTS xenial |
Vulnerable
|
|
| 14.04 LTS trusty | Not in release |
Patch details
| Package | Patch details |
|---|---|
| golang-golang-x-text |
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | None |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-5873-1
- Go Text vulnerabilities
- 16 February 2023