{"id":"CVE-2022-30634","aliases":["CVE-2022-30634","GO-2022-0477","BIT-GOLANG-2022-30634"],"related":[],"kind":"vulnerability","state":"published","title":"Indefinite hang with large buffers on Windows in crypto/rand","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"On Windows, rand.Read will hang indefinitely if passed a buffer larger than 1 << 32 - 1 bytes.","format":"markdown","source":"go"},{"lang":"es","text":"Un bucle infinito en Read en crypto/rand versiones anteriores a Go 1.17.11 y Go 1.18.3 en Windows, permite a un atacante causar un cuelgue no definido pasando un buffer mayor de 1 &lt;&lt; 32 - 1 bytes","source":"nvd"}],"published":"2022-06-09T01:43:37.000Z","modified":"2026-09-08T08:47:48.430Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.17.11","status":"affected"},{"type":"semver","introduced":"1.18.0-0","fixed":"1.18.3","status":"affected"}],"vendor":"Go standard library","product":"crypto/rand","package":"crypto/rand","platforms":["windows"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.17.11"},{"type":"semver","introduced":"1.18.0-0","status":"affected","fixed":"1.18.3"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.17.11"},{"status":"affected","introduced":"1.18.0","fixed":"1.18.3"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"cloud_insights_telegraf_agent","cpe":"cpe:2.3:a:netapp:cloud_insights_telegraf_agent:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.17.11"},{"type":"semver","introduced":"1.18.0","status":"affected","fixed":"1.18.3"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/cl/402257","tags":["fix","patch","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863","tags":["fix","mailing-list","patch","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/issue/52561","tags":["evidence","exploit","issue-tracking","report","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ","tags":["advisory","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0477","tags":["advisory","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30634","tags":["web"],"sources":["bitnami"]}],"credits":["Davis Goodin","Quim Muntal of Microsoft"],"assigner":"Go","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-30634","url":"https://www.cve.org/CVERecord?id=CVE-2022-30634","licence":"CVE Terms of Use","modified":"2024-08-03T06:56:13.255Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0477","url":"https://pkg.go.dev/vuln/GO-2022-0477","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-30634","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30634","licence":"Public domain","modified":"2026-06-17T04:43:59.317Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2022-30634","url":"https://osv.dev/vulnerability/BIT-GOLANG-2022-30634","licence":"Apache-2.0","modified":"2026-09-08T08:47:48.430Z"}],"updatedAt":"2026-11-25T22:58:12.982Z","epss":{"score":0.02278,"percentile":0.8361,"date":"2026-12-01T12:00:22.000Z"}}