Live threats

All CVEs / Golang

CVE-2022-32149Golang Text

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Oct 14, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-772
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse.

Original NVD text.

What to do

  1. Apply the vendor's security update for Text.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go golang.org/x/text < 0.3.8 0.3.8 go get golang.org/x/text@v0.3.8
Go golang.org/x/text < 0.3.8 0.3.8 go get golang.org/x/text@v0.3.8

Per OSV / GitHub Advisories (GHSA-69ch-w2m2-3vjp, GO-2022-1059). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golangtext< 0.3.8

Official sources

References

Links published by the sources. Open them with care.