Name | 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.) |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 980002 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
golang-golang-x-text (PTS) | bullseye | 0.3.6-1 | fixed |
| bookworm | 0.7.0-1 | fixed |
| sid, trixie | 0.16.0-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - golang-x-text <postponed> (Limited support, minor issue)
[stretch] - golang-x-text <no-dsa> (Minor issue. Golang has limited support in stretch.)
https://github.com/golang/go/issues/42536
https://github.com/golang/text/commit/4482a914f52311356f6f4b7a695d4075ca22c0c6 (v0.3.5)