{"id":"UBUNTU-CVE-2020-28852","details":"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.)","modified":"2026-01-30T01:30:11.924366Z","published":"2021-01-02T06:15:00Z","related":["USN-5873-1"],"upstream":["CVE-2020-28852"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-28852"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5873-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-28852"}],"affected":[{"package":{"name":"golang-x-text","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/golang-x-text@0+git20151217.cf49866-0ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0+git20151019.0fe7e68-0ubuntu1","0+git20151217.cf49866-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-x-text-dev","binary_version":"0+git20151217.cf49866-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28852.json"}},{"package":{"name":"google-guest-agent","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/google-guest-agent@20240716.00-0ubuntu1~16.04.0+esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20201217.02-0ubuntu1~16.04.0","20230426.00-0ubuntu2~16.04.3","20231004.02-0ubuntu1~16.04.1","20231004.02-0ubuntu1~16.04.2","20240716.00-0ubuntu1~16.04.0","20240716.00-0ubuntu1~16.04.0+esm1","20240716.00-0ubuntu1~16.04.0+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"google-guest-agent","binary_version":"20240716.00-0ubuntu1~16.04.0+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28852.json"}},{"package":{"name":"golang-x-text","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/golang-x-text@0.0~git20170627.0.6353ef0-1ubuntu2.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0~git20170627.0.6353ef0-1ubuntu2.1"}]}],"versions":["0.0~git20170627.0.6353ef0-1ubuntu1","0.0~git20170627.0.6353ef0-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-golang-x-text-dev","binary_version":"0.0~git20170627.0.6353ef0-1ubuntu2.1"},{"binary_name":"golang-x-text-dev","binary_version":"0.0~git20170627.0.6353ef0-1ubuntu2.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28852.json"}},{"package":{"name":"golang-golang-x-text","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-golang-x-text@0.3.2-4ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.2-4ubuntu0.1"}]}],"versions":["0.3.2-3","0.3.2-4"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-golang-x-text-dev","binary_version":"0.3.2-4ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28852.json"}},{"package":{"name":"golang-x-text","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-x-text@0.3.2-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-golang-x-text-dev","binary_version":"0.3.2-1"},{"binary_name":"golang-x-text-dev","binary_version":"0.3.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28852.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}