Out-of-Range Slice Bounds Panic in x/text Go Library's Language Parsing

Out-of-Range Slice Bounds Panic in x/text Go Library's Language Parsing

CVE-2020-28852 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.)

Learn more about our Web Application Penetration Testing UK.