CVE-2020-28852 Denial of service in n/a
A remote attacker can cause a denial of service via a panic in the Go x/text library when parsing a malicious BCP 47 tag.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-28852?
CVE-2020-28852 is a high-severity denial of service vulnerability in n/a, published on 2 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.)
Weakness: CWE-129
Which versions are affected by CVE-2020-28852?
It affects 1 product.
Products include Golang Text.
How do I fix CVE-2020-28852?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2020-28852 being exploited?
There is no known exploitation of CVE-2020-28852 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as AZL-41455, AZL-44148, DEBIAN-CVE-2020-28852, GHSA-5rvp-q2j7-h9rj, UBUNTU-CVE-2020-28852.