CVEfocus › CVE database › CVE-2020-28851

CVE-2020-28851

EPSS 2.3% (higher than 84% of CVEs)Published 2021-01-02Updated 2024-08-04Assigner: mitre

In x/text in Go 1.15.4, an "index out of range" panic occurs in language.ParseAcceptLanguage while parsing the -u- extension. (x/text/language is supposed to be able to parse an HTTP Accept-Language header.)

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

89Fixed
4Fix pending
8Will not fix
27Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04golang-golang-x-textNot affected
vulnerable_code_not_present
Ubuntu 26.04google-guest-agentNot affected
vulnerable_code_not_present
Ubuntu 25.10golang-golang-x-textNot affected
vulnerable_code_not_present
Ubuntu 25.10google-guest-agentNot affected
vulnerable_code_not_present
Ubuntu 24.04golang-golang-x-textNot affected
vulnerable_code_not_present
Ubuntu 24.04google-guest-agentNot affected
vulnerable_code_not_present
Ubuntu 22.04golang-golang-x-textNot affected
vulnerable_code_not_present
Ubuntu 22.04google-guest-agentNot affected
vulnerable_code_not_present
Ubuntu 20.04golang-golang-x-textFixed0.3.2-4ubuntu0.1UBUNTU-CVE-2020-28851
Ubuntu 20.04golang-x-textFix pendingUBUNTU-CVE-2020-28851
Ubuntu 18.04golang-x-textFixed0.0~git20170627.0.6353ef0-1ubuntu2.1UBUNTU-CVE-2020-28851
Ubuntu 16.04golang-x-textFix pendingUBUNTU-CVE-2020-28851
Ubuntu 16.04google-guest-agentFix pendingUBUNTU-CVE-2020-28851
Debian 14golang-golang-x-textFixed0.3.6-1DEBIAN-CVE-2020-28851
Debian 13golang-golang-x-textFixed0.3.6-1DEBIAN-CVE-2020-28851
Debian 12golang-golang-x-textFixed0.3.6-1DEBIAN-CVE-2020-28851
Red Hat Enterprise Linux 9buildahNot affected
Red Hat Enterprise Linux 9buildah-testsNot affected
Red Hat Enterprise Linux 9git-lfsNot affected
Red Hat Enterprise Linux 9go-toolsetNot affected
Red Hat Enterprise Linux 9golangNot affected
Red Hat Enterprise Linux 9golang-binNot affected
Red Hat Enterprise Linux 9golang-docsNot affected
Red Hat Enterprise Linux 9golang-miscNot affected
Red Hat Enterprise Linux 9golang-raceNot affected
Red Hat Enterprise Linux 9golang-srcNot affected
Red Hat Enterprise Linux 9golang-testsNot affected
Red Hat Enterprise Linux 9podmanFixed2:4.2.0-3.el9RHSA-2022:7954
Red Hat Enterprise Linux 9podman-dockerFixed2:4.2.0-3.el9RHSA-2022:7954
Red Hat Enterprise Linux 9podman-gvproxyFixed2:4.2.0-3.el9RHSA-2022:7954
Red Hat Enterprise Linux 9podman-pluginsFixed2:4.2.0-3.el9RHSA-2022:7954
Red Hat Enterprise Linux 9podman-remoteFixed2:4.2.0-3.el9RHSA-2022:7954
Red Hat Enterprise Linux 9podman-testsFixed2:4.2.0-3.el9RHSA-2022:7954
Red Hat Enterprise Linux 8aardvark-dnsFixed2:1.0.1-27.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8buildahFixed
Will not fix
1:1.24.2-4.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8buildah-testsFixed
Will not fix
1:1.24.2-4.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8cockpit-podmanFixed0:43-1.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8conmonFixed2:2.1.0-1.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8container-selinuxFixed2:2.179.1-1.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8containernetworking-pluginsFixed1:1.0.1-2.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8containers-commonFixed2:1-27.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8critFixed0:3.15-3.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8criuFixed0:3.15-3.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8criu-develFixed0:3.15-3.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8criu-libsFixed0:3.15-3.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8crunFixed0:1.4.4-1.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8fuse-overlayfsFixed0:1.8.2-1.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8git-lfsFixed0:2.13.3-3.el8_6RHSA-2022:7129
Red Hat Enterprise Linux 8go-toolsetNot affected
Red Hat Enterprise Linux 8golangNot affected
Red Hat Enterprise Linux 8golang-binNot affected
Red Hat Enterprise Linux 8golang-docsNot affected
Red Hat Enterprise Linux 8golang-miscNot affected
Red Hat Enterprise Linux 8golang-raceNot affected
Red Hat Enterprise Linux 8golang-srcNot affected
Red Hat Enterprise Linux 8golang-testsNot affected
Red Hat Enterprise Linux 8libslirpFixed0:4.4.0-1.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8libslirp-develFixed0:4.4.0-1.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8netavarkFixed2:1.0.1-27.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8oci-seccomp-bpf-hookFixed0:1.2.3-3.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8podmanFixed
Affected
2:4.0.2-6.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8podman-catatonitFixed
Affected
2:4.0.2-6.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8podman-dockerFixed
Affected
2:4.0.2-6.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8podman-gvproxyFixed
Affected
2:4.0.2-6.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8podman-manpagesFix pending
Affected
Red Hat Enterprise Linux 8podman-pluginsFixed
Affected
2:4.0.2-6.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8podman-remoteFixed
Affected
2:4.0.2-6.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8podman-testsFixed
Affected
2:4.0.2-6.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8python-podmanFixed0:4.0.0-1.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8python3-criuFixed0:3.15-3.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8python3-podmanFixed0:4.0.0-1.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8runcFixed1:1.0.3-2.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8skopeoFixed2:1.6.1-2.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8skopeo-testsFixed2:1.6.1-2.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8slirp4netnsFixed0:1.1.8-2.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8toolboxFixed0:0.0.99.3-0.4.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8toolbox-testsFixed0:0.0.99.3-0.4.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 8udicaFixed0:0.2.6-2.module+el8.6.0+14673+621cb8beRHSA-2022:1762
Red Hat Enterprise Linux 7buildahWill not fix
Out of support scope
Red Hat Enterprise Linux 7golangWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-binWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-miscWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-srcWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-testsWill not fix
Out of support scope
Red Hat Enterprise Linux 7podmanWill not fix
Out of support scope
AlmaLinux 9podmanFixed2:4.2.0-3.el9ALSA-2022:7954
AlmaLinux 9podman-dockerFixed2:4.2.0-3.el9ALSA-2022:7954
AlmaLinux 9podman-gvproxyFixed2:4.2.0-3.el9ALSA-2022:7954
AlmaLinux 9podman-pluginsFixed2:4.2.0-3.el9ALSA-2022:7954
AlmaLinux 9podman-remoteFixed2:4.2.0-3.el9ALSA-2022:7954
AlmaLinux 9podman-testsFixed2:4.2.0-3.el9ALSA-2022:7954
AlmaLinux 8aardvark-dnsFixed2:1.0.1-27.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8buildahFixed1:1.24.2-4.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8buildah-testsFixed1:1.24.2-4.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8cockpit-podmanFixed43-1.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8conmonFixed2:2.1.0-1.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8container-selinuxFixed2:2.179.1-1.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8containernetworking-pluginsFixed1:1.0.1-2.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8containers-commonFixed2:1-27.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8critFixed3.15-3.module_el8.6.0+2751+06427ca3ALSA-2022:1762
AlmaLinux 8criuFixed3.15-3.module_el8.6.0+2751+06427ca3ALSA-2022:1762
AlmaLinux 8criu-develFixed3.15-3.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8criu-libsFixed3.15-3.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8crunFixed1.4.4-1.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8fuse-overlayfsFixed1.8.2-1.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8git-lfsFixed2.13.3-3.el8_6ALSA-2022:7129
AlmaLinux 8libslirpFixed4.4.0-1.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8libslirp-develFixed4.4.0-1.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8netavarkFixed2:1.0.1-27.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8oci-seccomp-bpf-hookFixed1.2.3-3.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8podmanFixed2:4.0.2-6.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8podman-catatonitFixed2:4.0.2-6.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8podman-dockerFixed2:4.0.2-6.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8podman-gvproxyFixed2:4.0.2-6.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8podman-pluginsFixed2:4.0.2-6.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8podman-remoteFixed2:4.0.2-6.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8podman-testsFixed2:4.0.2-6.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8python3-criuFixed3.15-3.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8python3-podmanFixed4.0.0-1.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8runcFixed1:1.0.3-2.module_el8.6.0+2878+e681bc44ALSA-2022:1762
AlmaLinux 8skopeoFixed2:1.6.1-2.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8skopeo-testsFixed2:1.6.1-2.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8slirp4netnsFixed1.1.8-2.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8toolboxFixed0.0.99.3-0.4.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8toolbox-testsFixed0.0.99.3-0.4.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
AlmaLinux 8udicaFixed0.2.6-2.module_el8.6.0+2877+8e437bf5ALSA-2022:1762
Rocky Linux 8git-lfsFixed0:2.13.3-3.el8_6RLSA-2022:7129

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.