CVE-2020-28851
Go vulnerability analysis and mitigation

Overview

In x/text in Go 1.15.4, an "index out of range" panic occurs in language.ParseAcceptLanguage while parsing the -u- extension. The vulnerability, identified as CVE-2020-28851, was discovered in late 2020 and affects the x/text/language component, which is supposed to be able to parse HTTP Accept-Language headers (NVD, GitHub Issue).

Technical details

The vulnerability manifests as an "index out of range" panic in the language.ParseAcceptLanguage function specifically when processing the -u- extension in language tags. The issue received a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating a high severity issue with network accessibility and no required privileges or user interaction (NetApp Advisory).

Impact

The vulnerability can lead to a Denial of Service (DoS) condition when successfully exploited. The impact is primarily on availability, with no direct effect on confidentiality or integrity of the system (NetApp Advisory).

Exploitability

The vulnerability is remotely exploitable and requires no special privileges or user interaction. The issue can be triggered through malformed Accept-Language headers, making it particularly concerning for web applications that process language tags (NVD).

Mitigation and workarounds

The issue was identified and reported through the Go issue tracking system. Updates to the x/text package were released to address this vulnerability. Users are advised to update to patched versions of the software (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related Go vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-54365HIGH8.7
  • Go logoGo
  • cpe:2.3:a:golang:go
NoYesJun 23, 2026
CVE-2026-39822HIGH7.8
  • Go logoGo
  • clusteradm-fips
NoYesJul 08, 2026
CVE-2026-42504HIGH7.5
  • Go logoGo
  • crossplane-provider-aws-appflow
NoYesJun 02, 2026
CVE-2026-42505MEDIUM5.3
  • Go logoGo
  • crossplane-provider-aws-oam-fips
NoYesJul 08, 2026
CVE-2026-42507MEDIUM5.3
  • Go logoGo
  • container-tools:rhel8::skopeo
NoYesJun 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management