CVE-2022-30634
Dashboard / Vulnerabilities / CVE-2022-30634
CVE-2022-30634
Published: 15 Jul 2022Last Modified: 12 Aug 2026
Summary: Indefinite hang with large buffers on Windows in crypto/rand
Details: 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.
References: https://go.dev/cl/402257, https://go.dev/issue/52561, https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863, https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ, https://pkg.go.dev, https://pkg.go.dev/vuln/GO-2022-0477, https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30634.json, https://nvd.nist.gov/vuln/detail/CVE-2022-30634
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
go1.17.10
go1.17.9
go1.17.8
go1.17.7
go1.17.6
go1.17.5
go1.17.4
go1.17.3
go1.17.2
go1.17.1
go1.17
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
