{"id":"CVE-2022-30634","state":"PUBLISHED","title":"Indefinite hang with large buffers on Windows in crypto/rand","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.","publishedAt":"2022-07-15T19:36:19.000Z","updatedAt":"2024-08-03T06:56:13.255Z","severity":null,"assigner":"Go","products":["Go standard library crypto/rand"],"affected":[{"vendor":"Go standard library","product":"crypto/rand","packageName":"crypto/rand","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.17.11","versionType":"semver"},{"version":"1.18.0-0","status":"affected","lessThan":"1.18.3","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","platforms":["windows"],"programRoutines":[{"name":"Read"}]}],"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://pkg.go.dev/vuln/GO-2022-0477"],"weaknesses":[],"ingestedAt":"2026-10-29T19:50:04.052Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/30xxx/CVE-2022-30634.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-30634","state":"PUBLISHED","datePublished":"2022-07-15T19:36:19.000Z","dateUpdated":"2024-08-03T06:56:13.255Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2022-05-12T00:00:00.000Z"},"containers":{"cna":{"title":"Indefinite hang with large buffers on Windows in crypto/rand","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Go standard library","product":"crypto/rand","packageName":"crypto/rand","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.17.11","versionType":"semver"},{"version":"1.18.0-0","status":"affected","lessThan":"1.18.3","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","platforms":["windows"],"programRoutines":[{"name":"Read"}]}],"references":[{"url":"https://go.dev/cl/402257"},{"url":"https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863"},{"url":"https://go.dev/issue/52561"},{"url":"https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ"},{"url":"https://pkg.go.dev/vuln/GO-2022-0477"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2023-06-12T19:04:27.361Z"},"credits":[{"lang":"en","value":"Davis Goodin"},{"lang":"en","value":"Quim Muntal of Microsoft"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://go.dev/cl/402257","tags":["x_transferred"]},{"url":"https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863","tags":["x_transferred"]},{"url":"https://go.dev/issue/52561","tags":["x_transferred"]},{"url":"https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ","tags":["x_transferred"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0477","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T06:56:13.255Z"}}]}}}