CVE-2022-32149Golang Text
High 7.5 No auth needed
Follow: this CVE · Golang · Golang Text We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Text.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| golang | text | < 0.3.8 |
Official sources
References
Links published by the sources. Open them with care.
- go.dev Vendor Advisory
- go.dev Issue Tracking Third Party Advisory
- groups.google.com Mailing List Third Party Advisory
- pkg.go.dev Vendor Advisory
- security.netapp.com