CVE-2022-30634
HIGH7.5EPSS 0.08%Indefinite hang with large buffers on Windows in crypto/rand
Published: 6/9/2022Modified: 5/20/2025
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.
Affected packages (2)
- Bitnami/golangfrom 0, < 1.17.11, >= 1.18.0, < 1.18.3
- Go/stdlibfrom 0, < 1.17.11, >= 1.18.0-0, < 1.18.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (6)
- PATCHhttps://go.dev/cl/402257
- PATCHhttps://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863
- REPORThttps://go.dev/issue/52561
- WEBhttps://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-30634
- WEBhttps://pkg.go.dev/vuln/GO-2022-0477