CVE-2020-28852

NameCVE-2020-28852
DescriptionIn 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.)
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs980002

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-golang-x-text (PTS)bookworm, sid, bullseye0.3.6-1fixed
golang-x-text (PTS)stretch0.0~git20161013.0.c745997-2vulnerable
buster0.3.0-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-golang-x-textsource(unstable)0.3.5-1980002
golang-x-textsource(unstable)(unfixed)

Notes

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

Search for package or bug name: Reporting problems