In x/text in Go before v0.3.5, a "slice bounds out of range" panic occurs in…
Priority LOW 36CWE-129Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 5 fixed, 12 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-129 and the CVSS impact.
Summary
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.)
Why it matters now
EPSS 0.01742 77th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 6 advisoriesRed Hat: 5 fixed, 12 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:golang:text:*:*:*:*:*:*:*:* | before 0.3.5 | Vulnerable | Go standard library |
- cpe:2.3:a:golang:text:*:*:*:*:*:*:*:* Versions before 0.3.5 Vulnerable ·Go standard library
Remediation
Red Hat 6 advisories
- RHSA-2022:7954 Released 2022-11-15 · Red Hat rating Moderatepodman security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 9) podman-2:4.2.0-3.el9, podman-docker-2:4.2.0-3.el9, podman-gvproxy-2:4.2.0-3.el9 +3
- RHSA-2022:7129 Released 2022-10-25 · Red Hat rating Moderategit-lfs security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 8) git-lfs-2.13.3-3.el8_6
- RHSA-2022:1276 Released 2022-04-07 · Red Hat rating ImportantRed Hat OpenShift Service Mesh 2.0.9 security update
- OpenShift Service Mesh 2.0 kiali-v1.24.7.redhat1-1.el8, servicemesh-2.0.9-3.el8, servicemesh-istioctl-2.0.9-3.el8 +6
Show 3 more Red Hat advisories
- RHSA-2022:0577 Released 2022-03-28 · Red Hat rating ModerateWindows Container Support for Red Hat OpenShift 5.0.0 [security update]
- Red Hat OpenShift Container Platform 4.10 openshift4-wincw/windows-machine-config-operator-bundle, openshift4-wincw/windows-machine-config-rhel8-operator
- RHSA-2021:2438 Released 2021-07-27 · Red Hat rating ModerateOpenShift Container Platform 4.8.2 bug fix and security update
- Red Hat OpenShift Container Platform 4.8 openshift4/driver-toolkit-rhel8, openshift4/egress-router-cni-rhel8, openshift4/network-tools-rhel8 +47
- RHSA-2021:1168 Released 2021-04-13 · Red Hat rating ImportantRed Hat Advanced Cluster Management 2.2.2 security and bug fix update
- Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 7 rhacm2/management-ingress-rhel7, rhacm2/memcached-exporter-rhel7, rhacm2/openshift-hive-rhel7 +2
- Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 8 rhacm2/acm-must-gather-rhel8, rhacm2/acm-operator-bundle, rhacm2/acmesolver-rhel8 +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Service Mesh 2.0 | Affected | No fix yet |
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet |
| Red Hat Ceph Storage 2 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Virtualization 2 | Affected | No fix planned: Will not fix |
| Red Hat Openshift Container Storage 4 | Affected | No fix yet: Fix deferred |
| Red Hat Quay 3 | Affected | No fix yet |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix yet: Fix deferred |
| OpenShift Service Mesh 2.0 | Fixed | RHSA-2022:1276 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2022:7129 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:7954 |
| Red Hat OpenShift Container Platform 4.10 | Fixed | RHSA-2022:0577 |
| Red Hat OpenShift Container Platform 4.8 | Fixed | RHSA-2021:2438 |
Not affected: 10 products
- OpenShift Service Mesh 2.0
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 4.8
- Red Hat OpenShift Virtualization 2
- Red Hat Openshift Container Storage 4
- Red Hat Software Collections
- Red Hat Storage 3
Timeline
- 2026-10-02 Threatist record created from CVE-2020-28852
- 2026-10-03 Alias added: GHSA-5rvp-q2j7-h9rj
References
More Go standard library Text vulnerabilities
- TI-2022-13882 Denial of service via crafted Accept-Language header in golang.org/x/text/language CVSS 3.1HIGH 7.5
- TI-2021-16156 golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an… CVSS 3.1HIGH 7.5
- TI-2020-11000 The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could… CVSS 3.1HIGH 7.5
Sources
- CVE-2020-28852 · CVE Program
- CVE-2020-28852 · NVD
- FIRST EPSS
- GHSA-5rvp-q2j7-h9rj · GitHub Advisory Database · CC BY 4.0
- CVE-2020-28852 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences