Improper Input Validation Affecting golang.org/x/text/language package, versions <0.3.8


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.13% (47th percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
7.5 high
Expand this section
Red Hat
7.5 high

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-GOLANG-GOLANGORGXTEXTLANGUAGE-3043869
  • published 14 Oct 2022
  • disclosed 11 Oct 2022
  • credit Adam Korczynski

How to fix?

Upgrade golang.org/x/text/language to version 0.3.8 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation due to the parser being, by design, exposed to untrusted user input, which can be leveraged to force a program to consume significant time parsing Accept-Language headers.