CVE-2021-38561

Publication date 26 December 2022

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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 24.10 oracular
Fixed 0.3.7-1
24.04 LTS noble
Fixed 0.3.7-1
23.10 mantic
Fixed 0.3.7-1
23.04 lunar
Fixed 0.3.7-1
22.10 kinetic
Fixed 0.3.7-1
22.04 LTS jammy
Fixed 0.3.7-1
21.10 impish Ignored end of life
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 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
23.04 lunar Not in release
22.10 kinetic Not in release
22.04 LTS jammy Not in release
21.10 impish 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

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
golang-golang-x-text

Severity score breakdown

Parameter Value
Base score 7.5 · High
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

Other references