
Cloud Vulnerability DB
A community-led vulnerabilities database
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. The vulnerability, identified as CVE-2020-28852, was discovered in late 2020 and affects the x/text/language component which is supposed to be able to parse an HTTP Accept-Language header (NVD, Ubuntu).
The vulnerability has been assigned 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. The issue specifically occurs in the language.ParseAcceptLanguage function when processing BCP 47 language tags, resulting in a panic with the error message "slice bounds out of range [9:8]" (Github Issue, NetApp Advisory).
The vulnerability can lead to a Denial of Service (DoS) condition when processing malformed BCP 47 language tags. Since the vulnerability affects the language parsing functionality, any application using the affected x/text package for processing Accept-Language headers could be impacted (NetApp Advisory).
The vulnerability is remotely exploitable without requiring any authentication or user interaction. The attack complexity is considered low, making it relatively straightforward to exploit. The vulnerability has been publicly discussed, though there are no known reports of exploitation in the wild (NVD).
The vulnerability was fixed in Go x/text version 0.3.5. Users are advised to upgrade to this version or later to address the issue. Various Linux distributions have also released patches for their respective packages, including Ubuntu which has provided fixes for affected versions in their repositories (Ubuntu Security Notice).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."