Description
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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | crypto/rand | < 1.17.11; >= 1.18.0-0, < 1.18.3 |
References
- https://go.dev/cl/402257Patch
- https://go.dev/issue/52561Exploit, Issue Tracking
- https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863Mailing List, Patch
- https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJMailing List, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2022-0477Third Party Advisory
- https://go.dev/cl/402257Patch
- https://go.dev/issue/52561Exploit, Issue Tracking
- https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863Mailing List, Patch
- https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJMailing List, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2022-0477Third Party Advisory
Timeline
- Published
- Jul 15, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified