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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (55th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GOLANGORGXTEXTLANGUAGE-3043869
  • published14 Oct 2022
  • disclosed11 Oct 2022
  • creditAdam Korczynski

Introduced: 11 Oct 2022

CVE-2022-32149  (opens in a new tab)
CWE-20  (opens in a new tab)

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.

CVSS Scores

version 3.1