{"id":"GO-2022-0477","summary":"Indefinite hang with large buffers on Windows in crypto/rand","details":"On Windows, rand.Read will hang indefinitely if passed a buffer larger than 1 \u003c\u003c 32 - 1 bytes.","aliases":["BIT-golang-2022-30634","CVE-2022-30634"],"modified":"2024-05-20T16:03:47Z","published":"2022-06-09T01:43:37Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0477","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://go.dev/cl/402257"},{"type":"FIX","url":"https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863"},{"type":"REPORT","url":"https://go.dev/issue/52561"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.11"},{"introduced":"1.18.0-0"},{"fixed":"1.18.3"}]}],"ecosystem_specific":{"imports":[{"symbols":["Read"],"goos":["windows"],"path":"crypto/rand"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0477.json"}}],"schema_version":"1.7.3","credits":[{"name":"Davis Goodin"},{"name":"Quim Muntal of Microsoft"}]}