Vulnerability in Golang Go
CVE-2022-30634
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.023, 83.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Standard Library Crypto/rand — versions 0, 1.18.0-0
- NetApp Cloud Insights Telegraf Agent
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (8-cm/kube-dump, drewtwitchell/scancompare, runwhen-contrib/helm-charts). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- go.dev/cl/402257 (Patch)
- go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863 (Patch, Mailing List)
- go.dev/issue/52561 (Exploit, Issue Tracking)
- groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ (Mailing List, Third Party Advisory)
- pkg.go.dev/vuln/GO-2022-0477 (Third Party Advisory)