Skip to content

CVE-2020-28852 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...

HighCVSS 7.5 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
debian/golang-golang-x-text(Debian:12) < 0.3.5-1 0.3.5-1
debian/golang-golang-x-text(Debian:13) < 0.3.5-1 0.3.5-1
debian/golang-golang-x-text(Debian:14) < 0.3.5-1 0.3.5-1
golang text < 0.3.5 0.3.5

References