Improper Validation of Array Index Affecting golang-golang-x-text package, versions <0.3.6-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment

    Threat Intelligence

    EPSS
    0.14% (50th 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 ID SNYK-DEBIANUNSTABLE-GOLANGGOLANGXTEXT-1056791
  • published 9 Jan 2021
  • disclosed 2 Jan 2021

How to fix?

Upgrade Debian:unstable golang-golang-x-text to version 0.3.6-1 or higher.

NVD Description

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

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

CVSS Scores

version 3.1
Expand this section

NVD

7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

Red Hat

7.5 high