Process hang via oversized random-read buffer
Published Jul 15, 2022 · Updated Aug 3, 2024
Infinite looping in Go standard library crypto/rand before 1.17.11 and 1.18.0 through 1.18.2 allows attackers to hang a Windows process. The Windows rngReader converts the requested byte count to uint32; after one partial RtlGenRandom call, later batches become zero-length and Read never advances. Triggering the flaw requires a program to pass a buffer larger than 2^32−1 bytes, and the Go project reports no realistic remotely reachable path.
Summary
What happened
Infinite looping in Go standard library crypto/rand before 1.17.11 and 1.18.0 through 1.18.2 allows attackers to hang a Windows process. The Windows rngReader converts the requested byte count to uint32; after one partial RtlGenRandom call, later batches become zero-length and Read never advances. Triggering the flaw requires a program to pass a buffer larger than 2^32−1 bytes, and the Go project reports no realistic remotely reachable path.
The record
- CVE
- CVE-2022-30634
- Published
- Jul 15, 2022
- Updated
- Aug 3, 2024
- Vendor
- Go standard library
- Product
- crypto/rand
- Classifications
- CWE-835
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Jul 15, 2022CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.17.11
- Affected versionversion=1.18.0-0 <1.18.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo