CVE-2022-32149
HIGH 7.5CVSS 3.1golang.org/x/text/language Denial of service via crafted Accept-Language header
An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse.
- Published
- 14 Oct 2022
- Last modified
- 10 Sep 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-772
- Also known as
- GHSA-69ch-w2m2-3vjpGO-2022-1059
- Sources
- NVDJSONOSV GHSA-69ch-w2m2-3vjpJSONOSV GO-2022-1059JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | textcpe:2.3:a:golang:text:*:*:*:*:*:*:*:* |
< 0.3.8 | 0.3.8 |
| OSV | Go | golang.org/x/text | < 0.3.8 | 0.3.8 |
References
- https://go.dev/cl/442235 · Vendor Advisory, WEB, FIX
- https://go.dev/issue/56152 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://groups.google.com/g/golang-announce/c/-hjNw559_tE/m/KlGTfid5CAAJ · Mailing List, Third Party Advisory, WEB
- https://pkg.go.dev/vuln/GO-2022-1059 · Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230203-0006/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-32149 · ADVISORY
- https://github.com/golang/go/issues/56152 · WEB
- https://github.com/golang/text/commit/434eadcdbc3b0256971992e8c70027278364c72c · WEB
- https://github.com/golang/text · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 14 Oct 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Oct 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Oct 2022)