CVE-2020-28852
golang.org/x/text: Panic in language.ParseAcceptLanguage while processing bcp47 tag
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 2, 2021
Updated · November 4, 2026
Description
A flaw was found in golang.org. In x/text, a "slice bounds out of range" panic occurs in language.ParseAcceptLanguage while processing a BCP 47 tag.
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-129 · Improper Validation of Array Index