Skip to main content
No exploitation reportedFix available

CVE-2020-28851

No exploitation reported by the sources we read.

  • Published2021-01-02
  • WeaknessCWE-129

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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

Timeline

dates in UTC
  1. 2021-01-0206:15CVE publishedNVD

Versions per branch

NVD · OSV
Go
BranchAffectedFixed in
1.15= 1.15.4no fix published
golang
BranchAffectedFixed in
1.15≥ 1.15.4, < 1.15.51.15.5

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • buildahRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:1.24.2-4.module+el8.6.0+14673+621cb8beand 4 other packages
  • buildahAzure Linux:3all versions · fixed in 1.41.4-2
  • buildahAlmaLinux:8all versions · fixed in 1:1.24.2-4.module_el8.6.0+2878+e681bc44and 1 other package
  • cockpit-podmanRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:43-1.module+el8.6.0+14673+621cb8be
  • cockpit-podmanAlmaLinux:8all versions · fixed in 43-1.module_el8.6.0+2877+8e437bf5
  • conmonRed Hat:enterprise_linux:8::appstreamall versions · fixed in 2:2.1.0-1.module+el8.6.0+14673+621cb8beand 2 other packages
  • conmonAlmaLinux:8all versions · fixed in 2:2.1.0-1.module_el8.6.0+2877+8e437bf5
  • container-selinuxRed Hat:enterprise_linux:8::appstreamall versions · fixed in 2:2.179.1-1.module+el8.6.0+14673+621cb8be

50 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-28851 Red Hat Product Security347 products fixed · 55 known affected

    golang.org/x/text: Panic in language.ParseAcceptLanguage while parsing -u- extension

    go.src as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · golang-bin as a component of Red Hat Ceph Storage 2 · golang-src as a component of Red Hat Ceph Storage 2 · +52 more

  • RHSA-2022:7954 Red Hat Product Security46 products fixed

    Red Hat Security Advisory: podman security and bug fix update

  • RHSA-2022:7129 Red Hat Product Security13 products fixed

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

  • RHSA-2022:1762 Red Hat Product Security267 products fixed

    Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update

  • RHSA-2022:1276 Red Hat Product Security19 products fixed

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

  • RHSA-2022:0577 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Windows Container Support for Red Hat OpenShift 5.0.0 [security update]

1 more advisory

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2022:7954 · 46 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Vendor fix Red Hat Product Security RHSA-2022:1276 · 19 productsThe OpenShift Service Mesh release notes provide information on the features and known issues: https://docs.openshift.com/container-platform/latest/service_mesh/v2x/servicemesh-release-notes.html
  3. Vendor fix Red Hat Product Security RHSA-2022:0577 · 2 productsFor Windows Machine Config Operator upgrades, see the following documentation: https://docs.openshift.com/container-platform/latest/windows_containers/windows-node-upgrades.html
  4. No fix available, says the vendor Red Hat Product Security CVE-2020-28851 · 9 productsFix deferred
  5. No fix available, says the vendor Red Hat Product Security CVE-2020-28851 · 12 productsAffected
  6. No fix planned, says the vendor Red Hat Product Security CVE-2020-28851 · 24 productsOut of support scope

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2021-01-02
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-739f-9qhv-6594

Frequently asked questions

What is CVE-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 be able to parse an HTTP Accept-Language header.)

Is CVE-2020-28851 actively exploited?

Active exploitation of CVE-2020-28851 has not been confirmed. Its EPSS score was 2.3% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-28851?

CVE-2020-28851 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running golang.org/x/text? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record