What’s Vulnerable › Vulnerabilities
CVE-2020-28852
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-01-02 · updated 2026-06-17
- Weakness: CWE-129
Description
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.)
Affected products
- golang.org/x/text/language: before 0.3.5 — fixed in 0.3.5
How to fix
Upgrade to a fixed version: golang.org/x/text/language 0.3.5. Check the vendor advisory for mitigations.
References
- https://github.com/golang/go/issues/42536
- https://security.netapp.com/advisory/ntap-20210212-0004/
- https://github.com/golang/go/issues/42536
- https://security.netapp.com/advisory/ntap-20210212-0004/
Get alerted when CVE-2020-28852 or the next vulnerability affects your stack