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.
https://pkg.go.dev/vuln/GO-2022-0477
https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ
https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863