CVE-2020-28851
published 2021-01-02CVE-2020-28851: 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…
PriorityP336high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
2.30%
81.1th percentile
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.)
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | golang-golang-x-text | < golang-golang-x-text 0.3.6-1 (bookworm) | golang-golang-x-text 0.3.6-1 (bookworm) |
| golang | go | — | — |
| msrc | azl3_multus_3.8-13_on_azure_linux_3.0 | — | — |
| msrc | azl3_multus_4.0.2-1_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
golang-golang-x-text, golang-x-text vulnerabilities
osv·2023-02-16·CVSS 7.5
CVE-2020-14040 [HIGH] golang-golang-x-text, golang-x-text vulnerabilities
golang-golang-x-text, golang-x-text vulnerabilities
It was discovered that Go Text incorrectly handled certain encodings. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-14040)
It was discovered that Go Text incorrectly handled certain BCP 47 language
tags. An attacker could possibly use this issue to cause a denial of service.
CVE-2020-28851, CVE-2020-28852 and CVE-2021-38561 affected only
Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
(CVE-2020-28851, CVE-2020-28852, CVE-2021-38561, CVE-2022-32149)
GHSA
GHSA-739f-9qhv-6594: In x/text in Go 1
ghsa_unreviewed·2022-05-24
CVE-2020-28851 [HIGH] CWE-129 GHSA-739f-9qhv-6594: In x/text in Go 1
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.)
OSV
CVE-2020-28851: In x/text in Go 1
osv·2021-01-02·CVSS 7.5
CVE-2020-28851 [HIGH] CVE-2020-28851: In x/text in Go 1
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.)
Ubuntu
Go Text vulnerabilities
vendor_ubuntu·2023-02-16·CVSS 7.5
CVE-2020-14040 [HIGH] Go Text vulnerabilities
Title: Go Text vulnerabilities
Summary: Several security issues were fixed in Go Text.
It was discovered that Go Text incorrectly handled certain encodings. An
attacker could possibly use this issue to cause a denial of service. This
issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-14040)
It was discovered that Go Text incorrectly handled certain BCP 47 language
tags. An attacker could possibly use this issue to cause a denial of service.
CVE-2020-28851, CVE-2020-28852 and CVE-2021-38561 affected only
Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
(CVE-2020-28851, CVE-2020-28852, CVE-2021-38561, CVE-2022-32149)
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
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 he
vendor_msrc·2021-01-12·CVSS 7.5
CVE-2020-28851 [HIGH] CWE-129 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 he
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.)
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will upda
Red Hat
golang.org/x/text: Panic in language.ParseAcceptLanguage while parsing -u- extension
vendor_redhat·2021-01-02·CVSS 7.5
CVE-2020-28851 [HIGH] CWE-129 golang.org/x/text: Panic in language.ParseAcceptLanguage while parsing -u- extension
golang.org/x/text: Panic in language.ParseAcceptLanguage while parsing -u- extension
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.)
A flaw was found in golang.org. In x/text, an "index out of range" panic occurs in language.ParseAcceptLanguage while parsing the -u- extension.
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 Suppo
Debian
CVE-2020-28851: golang-golang-x-text - In x/text in Go 1.15.4, an "index out of range" panic occurs in language.ParseAc...
vendor_debian·2020·CVSS 7.5
CVE-2020-28851 [HIGH] CVE-2020-28851: golang-golang-x-text - In x/text in Go 1.15.4, an "index out of range" panic occurs in language.ParseAc...
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.)
Scope: local
bookworm: resolved (fixed in 0.3.6-1)
bullseye: resolved (fixed in 0.3.6-1)
forky: resolved (fixed in 0.3.6-1)
sid: resolved (fixed in 0.3.6-1)
trixie: resolved (fixed in 0.3.6-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2021-01-02
Published