CVE catalog

CVE-2020-28852

golang-golang-x-text: CVE-2020-28852

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.74% · Oct 25, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangolang-golang-x-textsid0.43.0-1fixed
Debiangolang-golang-x-textforky0.43.0-1fixed
Debiangolang-golang-x-texttrixie0.22.0-1fixed
Debiangolang-golang-x-textbookworm0.7.0-1fixed
Ubuntugolang-x-text16.040+git20151019.0fe7e68-0ubuntu1vulnerable
Ubuntugolang-x-text16.040+git20151217.cf49866-0ubuntu1vulnerable
Ubuntugoogle-guest-agentpro20201217.02-0ubuntu1~16.04.0vulnerable
Ubuntugoogle-guest-agentpro20230426.00-0ubuntu2~16.04.3vulnerable
Ubuntugoogle-guest-agentpro20231004.02-0ubuntu1~16.04.1vulnerable
Ubuntugoogle-guest-agentpro20231004.02-0ubuntu1~16.04.2vulnerable
Ubuntugoogle-guest-agentpro20240716.00-0ubuntu1~16.04.0vulnerable
Ubuntugoogle-guest-agentpro20240716.00-0ubuntu1~16.04.0+esm1vulnerable
Ubuntugoogle-guest-agentpro20240716.00-0ubuntu1~16.04.0+esm2vulnerable
Ubuntugoogle-guest-agentpro20240716.00-0ubuntu1~16.04.0+esm3vulnerable
Ubuntugolang-x-text18.040.0~git20170627.0.6353ef0-1ubuntu1vulnerable
Ubuntugolang-x-text18.040.0~git20170627.0.6353ef0-1ubuntu2vulnerable
Ubuntugolang-x-text18.040.0~git20170627.0.6353ef0-1ubuntu2.1fixed
Ubuntugolang-golang-x-text20.040.3.2-3vulnerable
Ubuntugolang-golang-x-text20.040.3.2-4vulnerable
Ubuntugolang-golang-x-text20.040.3.2-4ubuntu0.1fixed
Ubuntugolang-x-text20.040.3.2-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-golang-x-textsourcesid0.3.5-1not yet assignedNot reported[980002]
Debiangolang-golang-x-textsourceforky0.3.5-1not yet assignedNot reported[980002]
Debiangolang-golang-x-textsourcetrixie0.3.5-1not yet assignedNot reported[980002]
Debiangolang-golang-x-textsourcebookworm0.3.5-1not yet assignedNot reported[980002]
Ubuntugolang-x-textdeb18.040.0~git20170627.0.6353ef0-1ubuntu2.1Not reportedUBUNTU-CVE-2020-28852Not reported
Ubuntugolang-golang-x-textdeb20.040.3.2-4ubuntu0.1Not reportedUBUNTU-CVE-2020-28852Not reported

[Debian bug #980002]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [golang-golang-x-text]

    Details (4)
    • 0.7.0-1 · all · bookworm

      Fixed · Fixed: 0.3.5-1

      dsa · golang-golang-x-text · debian · bookworm; dsa · golang-golang-x-text · debian · 12

    • 0.7.0-1 · all · bookworm

      Fixed · Fixed: 0.3.5-1

      dsa · golang-golang-x-text · debian · bookworm; dsa · golang-golang-x-text · debian · 12

    • 0.16.0-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 0.3.5-1

      dsa · golang-golang-x-text · debian · bookworm; dsa · golang-golang-x-text · debian · 12

    • 0.16.0-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 0.3.5-1

      dsa · golang-golang-x-text · debian · bookworm; dsa · golang-golang-x-text · debian · 12

[Debian 13 (Trixie)]

  • Source package: [golang-golang-x-text]

    Details (4)
    • 0.22.0-1 · all · trixie

      Fixed · Fixed: 0.3.5-1

      dsa · golang-golang-x-text · debian · 13

    • 0.22.0-1 · all · trixie

      Fixed · Fixed: 0.3.5-1

      dsa · golang-golang-x-text · debian · 13

    • 0.36.0-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 0.3.5-1

      dsa · golang-golang-x-text · debian · 13

    • 0.36.0-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 0.3.5-1

      dsa · golang-golang-x-text · debian · 13

Observed:

References