GO-2022-0477
Dashboard / Vulnerabilities / GO-2022-0477
GO-2022-0477
Published: 9 Jun 2022Last Modified: 20 May 2024
Aliases:
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 << 32 - 1 bytes.
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
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.17.11
Affected versions
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
