Vulnerability Report: GO-2022-0477
standard library- CVE-2022-30634
- Affects: crypto/rand
- Published: Jun 09, 2022
- Modified: May 20, 2024
On Windows, rand.Read will hang indefinitely if passed a buffer larger than 1 << 32 - 1 bytes.
Affected Packages
-
PathGo VersionsSymbols
-
before go1.17.11, from go1.18.0-0 before go1.18.3
Aliases
References
- https://go.dev/cl/402257
- https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863
- https://go.dev/issue/52561
- https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ
- https://vuln.go.dev/ID/GO-2022-0477.json
Credits
- Davis Goodin, Quim Muntal of Microsoft
Feedback
See anything missing or incorrect?
Suggest an edit to this report.