Improper Validation of Array Index Affecting golang-x-text package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.74% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN10-GOLANGXTEXT-1056796
  • published9 Jan 2021
  • disclosed2 Jan 2021

Introduced: 2 Jan 2021

CVE-2020-28852  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

There is no fixed version for Debian:10 golang-x-text.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-x-text package and not the golang-x-text package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1