CVE-2020-28852
No exploitation reported by the sources we read.
- Published2021-01-02
- Fixed in0.3.5
- 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 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.)
Timeline
dates in UTC- 2021-01-0206:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.3 | < 0.3.5 | 0.3.5 | NVD |
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
- buildahAzure Linux:3all versions · fixed in 1.41.4-2
- dex-k8s-authenticatorChainguardall versions · fixed in 1.4.0-r33
- git-lfsRocky Linux:8all versions · fixed in 0:2.13.3-3.el8_6
- git-lfsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:2.13.3-3.el8_6and 2 other packages
- git-lfsAlmaLinux:8all versions · fixed in 2.13.3-3.el8_6
- golang-golang-x-textUbuntu:22.04:LTSall versions · fixed in 0.3.7-1ubuntu0.20.04.1
- golang-golang-x-textUbuntu:20.04:LTSall versions · fixed in 0.3.2-4ubuntu0.1
- golang-golang-x-textDebian:14all versions · fixed in 0.3.5-1
12 more package ranges on OSV.dev
Vendor advisories
golang.org/x/text: Panic in language.ParseAcceptLanguage while processing bcp47 tag
servicemesh-cni as a component of OpenShift Service Mesh 2.0 · servicemesh-cni.src as a component of OpenShift Service Mesh 2.0 · go.src as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · +65 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: 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]
Red Hat Security Advisory: OpenShift Container Platform 4.8.2 bug fix and security update
1 more advisory
Fix
- Update Golang text to 0.3.5
- 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
- Vendor fix Red Hat Product Security RHSA-2021:2438 · 3 productsFor OpenShift Container Platform 4.8 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.8/release_notes/ocp-4-8-r…
- No fix available, says the vendor Red Hat Product Security CVE-2020-28852 · 9 productsFix deferred
- No fix available, says the vendor Red Hat Product Security CVE-2020-28852 · 23 productsAffected
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 score1.7 %2026-11-08
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-41455same flawAzure Linux · MIT
- AZL-44148same flawAzure Linux · MIT
- CGA-x9gv-873r-rg42same flawChainguard · CC-BY-NC-ND-4.0
- CGA-xpp8-xggh-xr2psame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2020-21244same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-5rvp-q2j7-h9rjsame flawGitHub Advisory Database · CC-BY-4.0
- 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: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-5rvp-q2j7-h9rj
Frequently asked questions
What is CVE-2020-28852?
Is CVE-2020-28852 actively exploited?
What is the CVSS score for CVE-2020-28852?
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-5rvp-q2j7-h9rj
- 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