| Name | CVE-2020-28851 |
| Description | In x/text in Go 1.15.4, an "index out of range" panic occurs in language.ParseAcceptLanguage while parsing the -u- extension. (x/text/language is supposed to be able to parse an HTTP Accept-Language header.) |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 980001 |
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 |
| trixie | 0.22.0-1 | fixed |
| forky, sid | 0.29.0-2 | 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/42535