Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-28851

golang.org/x/text: Panic in language.ParseAcceptLanguage while parsing -u- extension

Overview

Published
2 Jan 2021
Modified
17 Jun 2026
High CVE
1 Registry packages
61 OS packages
8 Linux distributions
Yes Fix available

Description

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.)

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-129

Affected packages · 1

Packages affected by CVE-2020-28851
EcosystemPackageVulnerableFixed in
Bitnami golang >=1.15.4, <1.15.5 1.15.5

Open a package to see all its vulnerabilities.

Operating systems · 67 fixes

Azure Linux 1 release · 2 packages

fixed 2
buildah multus
Azure Linux fixes for CVE-2020-28851
ReleasePackageFixed in
3.0 buildah 0:1.41.4-2.azl3
3.0 multus 0:4.0.2-1.azl3

Oracle Linux 2 releases · 2 packages

fixed 2
git-lfs podman
Oracle Linux fixes for CVE-2020-28851
ReleasePackageFixed in
8 git-lfs 2.13.3-3.el8_6
9 podman +6 2:4.2.0-3.0.1.el9

Red Hat 7 releases · 25 packages

affected 1 eol 1 wont fix 3 fixed 24
grafana buildah rh-git227-git-lfs servicemesh git-lfs servicemesh-prometheus +19
Red Hat fixes for CVE-2020-28851
ReleasePackageFixed inAdvisory
grafana +5 affected —
7 buildah +8 eol —
7 rh-git227-git-lfs wont fix —
8 servicemesh +6 0:2.0.9-3.el8 RHSA-2022:1276
8 git-lfs 0:2.13.3-3.el8_6 RHSA-2022:7129
8 servicemesh-prometheus 0:2.14.0-16.el8.1 RHSA-2022:1276

23 more rows

alma 3 releases · 20 packages

fixed 21
git-lfs toolbox udica slirp4netns oci-seccomp-bpf-hook crun +14
alma fixes for CVE-2020-28851
ReleasePackageFixed in
8 git-lfs 2.13.3-3.el8_6
8 (container-tools:rhel8) toolbox +1 0.0.99.3-0.4.module_el8.6.0+2877+8e437bf5
8 (container-tools:rhel8) udica 0.2.6-2.module_el8.6.0+2877+8e437bf5
8 (container-tools:rhel8) slirp4netns 1.1.8-2.module_el8.6.0+2877+8e437bf5
8 (container-tools:rhel8) oci-seccomp-bpf-hook 1.2.3-3.module_el8.6.0+2877+8e437bf5
8 (container-tools:rhel8) crun 1.4.4-1.module_el8.6.0+2877+8e437bf5

15 more rows

debian 6 releases · 2 packages

affected 2 fixed 4
golang-x-text golang-golang-x-text
debian fixes for CVE-2020-28851
ReleasePackageFixed in
10 golang-x-text affected
11 golang-golang-x-text 0.3.6-1
12 golang-golang-x-text 0.3.6-1
13 golang-golang-x-text 0.3.6-1
14 golang-golang-x-text 0.3.6-1
9 golang-x-text affected

echo 1 release · 1 package

fixed 1
golang-golang-x-text
echo fixes for CVE-2020-28851
ReleasePackageFixed in
golang-golang-x-text 0.3.6-1

rocky 1 release · 1 package

fixed 1
git-lfs
rocky fixes for CVE-2020-28851
ReleasePackageFixed in
8 git-lfs 2.13.3-3.el8_6

ubuntu 4 releases · 2 packages

fixed 4 affected 1
golang-x-text golang-golang-x-text
ubuntu fixes for CVE-2020-28851
ReleasePackageFixed in
18.04 golang-x-text 0.0~git20170627.0.6353ef0-1ubuntu2.1
18.04-ESM golang-x-text 0.0~git20170627.0.6353ef0-1ubuntu2.1
20.04 golang-golang-x-text 0.3.2-4ubuntu0.1
20.04-ESM golang-x-text affected
20.04-ESM golang-golang-x-text 0.3.2-4ubuntu0.1

References

Show all 37 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.