CVE-2022-30634Golang Go
High 7.5 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Jul 15, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.17.11 |
1.17.11 |
go get stdlib@v1.17.11 |
| Go | stdlib |
≥ 1.18.0-0 < 1.18.3 |
1.18.3 |
go get stdlib@v1.18.3 |
Per OSV / GitHub Advisories (GO-2022-0477). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.17.11 |
| golang | go | ≥ 1.18.0 < 1.18.3 |
| netapp | cloud_insights_telegraf_agent | all |
Official sources
References
Links published by the sources. Open them with care.
- go.dev Patch
- go.dev Exploit Issue Tracking
- go.googlesource.com Mailing List Patch
- groups.google.com Mailing List Third Party Advisory
- pkg.go.dev Third Party Advisory