cve.bz

CVE-2020-28852 golang text: Improper Validation of Array Index

7.5 highExploit referenceEPSS 1.7%

High (7.5) in golang text. EPSS 1.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.)

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-129 Improper Validation of Array Index
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-28852 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-28852?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-28852?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-28852 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
golang:textbefore 0.3.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-golang-x-text0.3.5-1DEBIAN-CVE-2020-28852
Ubuntu16.04:LTS, 20.04:LTSgolang-x-textno fix listedUBUNTU-CVE-2020-28852
Ubuntu18.04:LTSgolang-x-text0.0~git20170627.0.6353ef0-1ubuntu2.1UBUNTU-CVE-2020-28852 USN-5873-1
Ubuntu20.04:LTSgolang-golang-x-text0.3.2-4ubuntu0.1UBUNTU-CVE-2020-28852 USN-5873-1
Ubuntu22.04:LTSgolang-golang-x-text0.3.7-1ubuntu0.20.04.1USN-5873-1
UbuntuPro:16.04:LTSgoogle-guest-agentno fix listedUBUNTU-CVE-2020-28852
Red Hatenterprise_linux:8::appstreamgit-lfs, git-lfs-debuginfo, git-lfs-debugsource0:2.13.3-3.el8_6RHSA-2022:7129
Red Hatenterprise_linux:9::appstreampodman, podman-tests, podman-docker and 9 more2:4.2.0-3.el9RHSA-2022:7954
Red Hatservice_mesh:2.0::el8kiali0:v1.24.7.redhat1-1.el8RHSA-2022:1276
Red Hatservice_mesh:2.0::el8servicemesh, servicemesh-mixc, servicemesh-mixs and 4 more0:2.0.9-3.el8RHSA-2022:1276
Red Hatservice_mesh:2.0::el8servicemesh-prometheus0:2.14.0-16.el8.1RHSA-2022:1276
AlmaLinux8git-lfs2.13.3-3.el8_6ALSA-2022:7129
AlmaLinux9podman, podman-tests, podman-docker and 3 more2:4.2.0-3.el9ALSA-2022:7954
Rocky Linux8git-lfs0:2.13.3-3.el8_6RLSA-2022:7129
Azure Linux3buildah1.41.4-2AZL-44148
Azure Linux3multus4.0.2-1AZL-41455

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Below Red Hat products include the affected version of 'golang.org/x/text', however the language package is not being used and hence they are rated as having a security impact of Low. A future update may address this issue.

* Red Hat OpenShift Container Storage 4

* OpenShift ServiceMesh (OSSM)

* Red Hat Gluster Storage 3

* Windows Container Support for Red Hat OpenShift

Only three components in OpenShift Container Platform include the affected package, 'golang.org/x/text/language' , the installer, baremetal installer and thanos container images. All other components that include a version of 'golang.org/x/text' do not include the 'language' package and are therefore not affected.

ProductPackageStateAdvisory
OpenShift Service Mesh 2.0servicemesh-0:2.0.9-3.el8Fixed 2022-04-07RHSA-2022:1276
Red Hat Enterprise Linux 8git-lfs-0:2.13.3-3.el8_6Fixed 2022-10-25RHSA-2022:7129
Red Hat Enterprise Linux 9podman-2:4.2.0-3.el9Fixed 2022-11-15RHSA-2022:7954
Red Hat OpenShift Container Platform 4.10openshift4-wincw/windows-machine-config-operator-bundle:v5.0.0-5Fixed 2022-03-28RHSA-2022:0577
Red Hat OpenShift Container Platform 4.10openshift4-wincw/windows-machine-config-rhel8-operator:5.0.0-5Fixed 2022-03-28RHSA-2022:0577
Red Hat OpenShift Container Platform 4.8openshift4/ose-thanos-rhel8:v4.8.0-202106291913.p0.git.c358e96.assembly.streamFixed 2021-07-27RHSA-2021:2438
OpenShift Service Mesh 2.0servicemesh-cniAffected
Red Hat Advanced Cluster Management for Kubernetes 2goAffected
Red Hat Ceph Storage 2golangOut of support scope
Red Hat Ceph Storage 3golangOut of support scope
Red Hat Enterprise Linux 7buildahOut of support scope
Red Hat Enterprise Linux 7golangOut of support scope
Red Hat Enterprise Linux 7podmanOut of support scope
Red Hat Enterprise Linux 8container-tools:1.0/buildahWill not fix
Red Hat Enterprise Linux 8container-tools:1.0/podmanOut of support scope
Red Hat Enterprise Linux 8container-tools:2.0/buildahWill not fix
Red Hat Enterprise Linux 8container-tools:2.0/podmanAffected
Red Hat Enterprise Linux 8container-tools:rhel8/buildahWill not fix
Red Hat Enterprise Linux 8container-tools:rhel8/podmanAffected
Red Hat Enterprise Linux 8go-toolset:rhel8/golangNot affected
75 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-28852.

Attack patterns (CAPEC)

  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON