What’s Vulnerable › Vulnerabilities

CVE-2020-28852

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

How to fix

Upgrade to a fixed version: golang.org/x/text/language 0.3.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-28852 or the next vulnerability affects your stack