CVE-2020-28851
No exploitation reported by the sources we read.
- Published2021-01-02
- WeaknessCWE-129
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.)
Timeline
dates in UTC- 2021-01-0206:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.15 | = 1.15.4 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.15 | ≥ 1.15.4, < 1.15.5 | 1.15.5 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- buildahRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:1.24.2-4.module+el8.6.0+14673+621cb8beand 4 other packages
- buildahAzure Linux:3all versions · fixed in 1.41.4-2
- buildahAlmaLinux:8all versions · fixed in 1:1.24.2-4.module_el8.6.0+2878+e681bc44and 1 other package
- cockpit-podmanRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:43-1.module+el8.6.0+14673+621cb8be
- cockpit-podmanAlmaLinux:8all versions · fixed in 43-1.module_el8.6.0+2877+8e437bf5
- conmonRed Hat:enterprise_linux:8::appstreamall versions · fixed in 2:2.1.0-1.module+el8.6.0+14673+621cb8beand 2 other packages
- conmonAlmaLinux:8all versions · fixed in 2:2.1.0-1.module_el8.6.0+2877+8e437bf5
- container-selinuxRed Hat:enterprise_linux:8::appstreamall versions · fixed in 2:2.179.1-1.module+el8.6.0+14673+621cb8be
50 more package ranges on OSV.dev
Vendor advisories
golang.org/x/text: Panic in language.ParseAcceptLanguage while parsing -u- extension
go.src as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · golang-bin as a component of Red Hat Ceph Storage 2 · golang-src as a component of Red Hat Ceph Storage 2 · +52 more
Red Hat Security Advisory: podman security and bug fix update
Red Hat Security Advisory: git-lfs security and bug fix update
Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update
Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.0.9 security update
Red Hat Security Advisory: Windows Container Support for Red Hat OpenShift 5.0.0 [security update]
1 more advisory
Fix
- Vendor fix Red Hat Product Security RHSA-2022:7954 · 46 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2022:1276 · 19 productsThe OpenShift Service Mesh release notes provide information on the features and known issues: https://docs.openshift.com/container-platform/latest/service_mesh/v2x/servicemesh-release-notes.html
- Vendor fix Red Hat Product Security RHSA-2022:0577 · 2 productsFor Windows Machine Config Operator upgrades, see the following documentation: https://docs.openshift.com/container-platform/latest/windows_containers/windows-node-upgrades.html
- No fix available, says the vendor Red Hat Product Security CVE-2020-28851 · 9 productsFix deferred
- No fix available, says the vendor Red Hat Product Security CVE-2020-28851 · 12 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2020-28851 · 24 productsOut of support scope
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.5read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- NVDweakness (CWE)CWE-129read 2026-10-23
- FIRST EPSSEPSS score2.3 %2026-11-08
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-41422same flawAzure Linux · MIT
- AZL-45033same flawAzure Linux · MIT
- BIT-golang-2020-28851same flawBitnami · Apache-2.0
- EUVD-2020-21243same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-739f-9qhv-6594same flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2022:1762advisory covering several CVEsAlmaLinux · MIT
- ALSA-2022:7129advisory covering several CVEsAlmaLinux · MIT
- ALSA-2022:7954advisory covering several CVEsAlmaLinux · MIT
- RHSA-2022:1276advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1762advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:7129advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:7954advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2022:7129advisory covering several CVEsRocky Linux · BSD-3-Clause
- USN-5873-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2021-01-02
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-739f-9qhv-6594
Frequently asked questions
What is CVE-2020-28851?
Is CVE-2020-28851 actively exploited?
What is the CVSS score for CVE-2020-28851?
Running golang.org/x/text? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-739f-9qhv-6594
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0