CVE-2022-30634
HIGH 7.5CVSS 3.1Indefinite hang with large buffers on Windows in crypto/rand
Infinite loop in Read in crypto/rand before Go 1.17.11 and Go 1.18.3 on Windows allows attacker to cause an indefinite hang by passing a buffer larger than 1 << 32 - 1 bytes.
- Published
- 15 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-835
- Also known as
- BIT-golang-2022-30634GO-2022-0477
- Sources
- NVDJSONOSV GO-2022-0477JSON
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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.17.11 | 1.17.11 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.18.0, < 1.18.3 | 1.18.3 |
| NVD | netapp | cloud_insights_telegraf_agentcpe:2.3:a:netapp:cloud_insights_telegraf_agent:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Go | stdlib | < 1.17.11; >= 1.18.0-0, < 1.18.3 | 1.17.11, 1.18.3 |
References
- https://go.dev/cl/402257 · Patch, FIX
- https://go.dev/issue/52561 · Exploit, Issue Tracking, REPORT
- https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863 · Mailing List, Patch, FIX
- https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ · Mailing List, Third Party Advisory, WEB
- https://pkg.go.dev/vuln/GO-2022-0477 · Third Party Advisory
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 15 Jul 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Jun 2022)