Out-of-bounds Read Affecting golang-x-text package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.48% (74th 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-2935276
  • published25 Jun 2022
  • disclosed26 Dec 2022

Introduced: 25 Jun 2022

CVE-2021-38561  (opens in a new tab)
CWE-125  (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.

golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.

CVSS Base Scores

version 3.1