Skip to content
OpenAdvisories
Unscored CVE-2020-28852 EUVD-2020-21244GHSA-5rvp-q2j7-h9rj

In x/text in Go before v0.3.5, a "slice bounds out of range" panic occurs in language.ParseAcceptLanguage while processing a BCP 47 tag. (x…

Published Jan 2, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

In x/text in Go before v0.3.5, a "slice bounds out of range" panic occurs in language.ParseAcceptLanguage while processing a BCP 47 tag. (x/text/language is supposed to be able to parse an HTTP Accept-Language header.)

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-golang-x-text 0.3.5-1 —
Debian 13 golang-golang-x-text 0.3.5-1 —
Debian 12 golang-golang-x-text 0.3.5-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS golang-golang-x-text 0.3.7-1ubuntu0.20.04.1 USN-5873-1
Ubuntu 20.04 LTS golang-golang-x-text 0.3.2-4ubuntu0.1 USN-5873-1
Ubuntu 20.04 LTS golang-x-text No fix yet —
Ubuntu 18.04 LTS golang-x-text 0.0~git20170627.0.6353ef0-1ubuntu2.1 USN-5873-1
Ubuntu 16.04 LTS golang-x-text No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS google-guest-agent No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 podman +5 2:4.2.0-3.el9 RHSA-2022:7954
RHEL 8 git-lfs 2.13.3-3.el8_6 RHSA-2022:7129
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Service Mesh 2 kiali v1.24.7.redhat1-1.el8 RHSA-2022:1276
Red Hat Service Mesh 2 servicemesh +6 2.0.9-3.el8 RHSA-2022:1276
Red Hat Service Mesh 2 servicemesh-prometheus 2.14.0-16.el8.1 RHSA-2022:1276

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 podman +5 2:4.2.0-3.el9 ALSA-2022:7954
AlmaLinux 8 git-lfs 2.13.3-3.el8_6 ALSA-2022:7129

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 git-lfs 2.13.3-3.el8_6 RLSA-2022:7129

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 buildah 1.41.4-2 —
Azure Linux 3 multus 4.0.2-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 podman +6 2:4.2.0-3.0.1.el9 ELSA-2022-7954
Oracle Linux 8 git-lfs 2.13.3-3.el8_6 ELSA-2022-7129

Advisories 11

References