Every CVE Search/ Get API key

CVE-2020-28852

In x/text in Go 1.15.4, a "slice bounds out of range" panic occurs in language...

7.5 HighFix available

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.)

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.74%Up 1.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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.)

Record
CVE-2020-28852
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-129
Updated
2026-11-02
CVE List No score

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.)

Record
CVE-2020-28852
Updated
2026-11-02
EUVDEUVD-2020-21244 No score

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.)

Record
EUVD-2020-21244
Updated
2026-11-03
GitHub AdvisoriesGHSA-5rvp-q2j7-h9rj 7.5

In x/text in Go 1.15.4, a "slice bounds out of range" panic occurs in language...

In x/text in Go 1.15.4, 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.)

Record
GHSA-5rvp-q2j7-h9rj
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-129
Updated
2026-11-02
OSVAZL-41455 7.5

CVE-2020-28852 affecting package multus for versions less than 4.0.2-1

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.)

Record
AZL-41455
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-44148 7.5

CVE-2020-28852 affecting package buildah for versions less than 1.41.4-2

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.)

Record
AZL-44148
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 10 moreShow less
OSV 7.5

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.)

Record
CVE-2020-28852
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-28852 7.5

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.)

Record
DEBIAN-CVE-2020-28852
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2022:1276 9.4

Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.0.9 security update

Record
RHSA-2022:1276
CVSS 3.1
9.4 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Updated
2026-11-02
OSVRHSA-2022:7129 7.5

Red Hat Security Advisory: git-lfs security and bug fix update

Record
RHSA-2022:7129
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2022:7954 7.5

Red Hat Security Advisory: podman security and bug fix update

Record
RHSA-2022:7954
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2022:7129 7.5

Moderate: git-lfs security and bug fix update

Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server.

Security Fix(es):

  • golang.org/x/text: Panic in language.ParseAcceptLanguage while parsing -u- extension (CVE-2020-28851)

  • golang.org/x/text: Panic in language.ParseAcceptLanguage while processing bcp47 tag (CVE-2020-28852)

  • golang: net/http: improper sanitization of Transfer-Encoding header (CVE-2022-1705)

  • golang: net/http: handle server errors after sending GOAWAY (CVE-2022-27664)

  • golang: io/fs: stack exhaustion in Glob (CVE-2022-30630)

  • golang: path/filepath: stack exhaustion in Glob (CVE-2022-30632)

  • golang: encoding/gob: stack exhaustion in Decoder.Decode (CVE-2022-30635)

  • golang: net/http/httputil: NewSingleHostReverseProxy - omit X-Forwarded-For not working (CVE-2022-32148)

  • golang: math/big: decoding big.Float and big.Rat types can panic if the encoded message is too short, potentially allowing a denial of service (CVE-2022-32189)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Bug Fix(es):

  • git-lfs needs to be rebuild with golang 1.17.7-1 or above
Record
RLSA-2022:7129
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-28852 7.5

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.)

Record
UBUNTU-CVE-2020-28852
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2022:7129 No score

Moderate: git-lfs security and bug fix update

Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server.

Security Fix(es):

  • golang.org/x/text: Panic in language.ParseAcceptLanguage while parsing -u- extension (CVE-2020-28851)
  • golang.org/x/text: Panic in language.ParseAcceptLanguage while processing bcp47 tag (CVE-2020-28852)
  • golang: net/http: improper sanitization of Transfer-Encoding header (CVE-2022-1705)
  • golang: net/http: handle server errors after sending GOAWAY (CVE-2022-27664)
  • golang: io/fs: stack exhaustion in Glob (CVE-2022-30630)
  • golang: path/filepath: stack exhaustion in Glob (CVE-2022-30632)
  • golang: encoding/gob: stack exhaustion in Decoder.Decode (CVE-2022-30635)
  • golang: net/http/httputil: NewSingleHostReverseProxy - omit X-Forwarded-For not working (CVE-2022-32148)
  • golang: math/big: decoding big.Float and big.Rat types can panic if the encoded message is too short, potentially allowing a denial of service (CVE-2022-32189)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Bug Fix(es):

  • git-lfs needs to be rebuild with golang 1.17.7-1 or above
Record
ALSA-2022:7129
Updated
2026-11-02
OSVALSA-2022:7954 No score

Moderate: podman security and bug fix update

The podman tool manages pods, container images, and containers. It is part of the libpod library, which is for applications that use container pods. Container pods is a concept in Kubernetes.

Security Fix(es):

  • golang.org/x/text: Panic in language.ParseAcceptLanguage while parsing -u- extension (CVE-2020-28851)
  • golang.org/x/text: Panic in language.ParseAcceptLanguage while processing bcp47 tag (CVE-2020-28852)
  • podman: podman machine spawns gvproxy with port bound to all IPs (CVE-2021-4024)
  • podman: Remote traffic to rootless containers is seen as orginating from localhost (CVE-2021-20199)
  • containers/storage: DoS via malicious image (CVE-2021-20291)
  • golang: net/http/httputil: ReverseProxy forwards connection headers if first one is empty (CVE-2021-33197)
  • golang: crypto/tls: certificate of wrong type is causing TLS client to panic (CVE-2021-34558)
  • golang: crash in a golang.org/x/crypto/ssh server (CVE-2022-27191)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2022:7954
Updated
2026-11-02
OSVUSN-5873-1 No score

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)

Record
USN-5873-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
git-lfs
AlmaLinux:8
From an advisory covering 9 CVEs
before 2.13.3-3.el8_6
2.13.3-3.el8_6
podman
AlmaLinux:9
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-docker
AlmaLinux:9
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-gvproxy
AlmaLinux:9
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-plugins
AlmaLinux:9
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-remote
AlmaLinux:9
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-tests
AlmaLinux:9
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
multus
Azure Linux:3
before 4.0.2-1
4.0.2-1
buildah
Azure Linux:3
before 1.41.4-2
1.41.4-2
golang-golang-x-text
Debian:12
before 0.3.5-1
0.3.5-1
Show 35 moreShow less
Affected packages
PackageAffectedFixed
golang-golang-x-text
Debian:13
before 0.3.5-1
0.3.5-1
golang-golang-x-text
Debian:14
before 0.3.5-1
0.3.5-1
servicemesh
Red Hat:service_mesh:2.0::el8
From an advisory covering 16 CVEs
before 0:2.0.9-3.el8
0:2.0.9-3.el8
servicemesh-istioctl
Red Hat:service_mesh:2.0::el8
From an advisory covering 16 CVEs
before 0:2.0.9-3.el8
0:2.0.9-3.el8
servicemesh-mixc
Red Hat:service_mesh:2.0::el8
From an advisory covering 16 CVEs
before 0:2.0.9-3.el8
0:2.0.9-3.el8
servicemesh-mixs
Red Hat:service_mesh:2.0::el8
From an advisory covering 16 CVEs
before 0:2.0.9-3.el8
0:2.0.9-3.el8
servicemesh-pilot-agent
Red Hat:service_mesh:2.0::el8
From an advisory covering 16 CVEs
before 0:2.0.9-3.el8
0:2.0.9-3.el8
servicemesh-pilot-discovery
Red Hat:service_mesh:2.0::el8
From an advisory covering 16 CVEs
before 0:2.0.9-3.el8
0:2.0.9-3.el8
kiali
Red Hat:service_mesh:2.0::el8
From an advisory covering 16 CVEs
before 0:v1.24.7.redhat1-1.el8
0:v1.24.7.redhat1-1.el8
servicemesh-prometheus
Red Hat:service_mesh:2.0::el8
From an advisory covering 16 CVEs
before 0:2.14.0-16.el8.1
0:2.14.0-16.el8.1
servicemesh-proxy
Red Hat:service_mesh:2.0::el8
From an advisory covering 16 CVEs
before 0:2.0.9-3.el8
0:2.0.9-3.el8
git-lfs
Red Hat:enterprise_linux:8::appstream
From an advisory covering 9 CVEs
before 0:2.13.3-3.el8_6
0:2.13.3-3.el8_6
git-lfs-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 9 CVEs
before 0:2.13.3-3.el8_6
0:2.13.3-3.el8_6
git-lfs-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 9 CVEs
before 0:2.13.3-3.el8_6
0:2.13.3-3.el8_6
podman
Red Hat:enterprise_linux:9::appstream
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-catatonit-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-debugsource
Red Hat:enterprise_linux:9::appstream
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-docker
Red Hat:enterprise_linux:9::appstream
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-gvproxy
Red Hat:enterprise_linux:9::appstream
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-gvproxy-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-plugins
Red Hat:enterprise_linux:9::appstream
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-plugins-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-remote
Red Hat:enterprise_linux:9::appstream
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-remote-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
podman-tests
Red Hat:enterprise_linux:9::appstream
From an advisory covering 8 CVEs
before 2:4.2.0-3.el9
2:4.2.0-3.el9
git-lfs
Rocky Linux:8
From an advisory covering 9 CVEs
before 0:2.13.3-3.el8_6
0:2.13.3-3.el8_6
golang-x-text
Ubuntu:16.04:LTS
All versions, plus listed versions
0+git20151019.0fe7e68-0ubuntu10+git20151217.cf49866-0ubuntu1
None known
google-guest-agent
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
20201217.02-0ubuntu1~16.04.020230426.00-0ubuntu2~16.04.320231004.02-0ubuntu1~16.04.120231004.02-0ubuntu1~16.04.220240716.00-0ubuntu1~16.04.020240716.00-0ubuntu1~16.04.0+esm120240716.00-0ubuntu1~16.04.0+esm220240716.00-0ubuntu1~16.04.0+esm3
None known
golang-x-text
Ubuntu:18.04:LTS
before 0.0~git20170627.0.6353ef0-1ubuntu2.1, plus listed versions
0.0~git20170627.0.6353ef0-1ubuntu10.0~git20170627.0.6353ef0-1ubuntu2
0.0~git20170627.0.6353ef0-1ubuntu2.1
golang-golang-x-text
Ubuntu:20.04:LTS
before 0.3.2-4ubuntu0.1, plus listed versions
0.3.2-30.3.2-4
0.3.2-4ubuntu0.1
golang-x-text
Ubuntu:20.04:LTS
All versions, plus listed versions
0.3.2-1
None known
golang-x-text
Ubuntu:18.04:LTS
From an advisory covering 5 CVEs
before 0.0~git20170627.0.6353ef0-1ubuntu2.1, plus listed versions
0.0~git20170627.0.6353ef0-1ubuntu10.0~git20170627.0.6353ef0-1ubuntu2
0.0~git20170627.0.6353ef0-1ubuntu2.1
golang-golang-x-text
Ubuntu:20.04:LTS
From an advisory covering 5 CVEs
before 0.3.2-4ubuntu0.1, plus listed versions
0.3.2-30.3.2-4
0.3.2-4ubuntu0.1
golang-golang-x-text
Ubuntu:22.04:LTS
From an advisory covering 5 CVEs
before 0.3.7-1ubuntu0.20.04.1, plus listed versions
0.3.6-10.3.7-1
0.3.7-1ubuntu0.20.04.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-28852 is a high vulnerability (CVSS 7.5) in Golang Text, published January 2, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.74%, the 77th percentile. Fixed in multus 4.0.2-1.

References

Show 178 moreShow less
MoveEnter Open