Vulnerabilities · 2022 · Golang
CVE-2022-30634
Golang Go vulnerability
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 products
Go, Cloud Insights Telegraf Agent. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Golang Go runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- go.dev/cl/402257 · Patch
- go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863 · Patch
- groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ · Third Party Advisory
- pkg.go.dev/vuln/GO-2022-0477 · Third Party Advisory
- go.dev/issue/52561 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2022-30634
- cve.org/CVERecord?id=CVE-2022-30634
More vulnerabilities in Golang products
CVE-2026-42506CVE-2026-42502CVE-2026-27136CVE-2026-25681CVE-2026-25680CVE-2025-68121CVE-2025-68119CVE-2025-61732All 172
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.