CVE-2022-30634 | Indefinite hang with large buffers on Windows in crypto/rand

Exp

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: 2022-07-15 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-30634 is rated High Exploit Risk (72.2/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.64%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.56% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2022-30634

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2022-30634

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.08% 1.64% +1.56%
2 2026-03-27 0.02% 0.08% +0.06%
3 2025-11-21 0.02%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-30634

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2022-30634

OS Trackers for CVE-2022-30634

vendor priority summary link
debian unimportant CVE-2022-30634 unimportant priority: Debian including 1 source packages (golang-1.15), 1 status rows across 1 suites (bullseye): resolved 1. https://security-tracker.debian.org/tracker/CVE-2022-30634
suse medium CVE-2022-30634 severity moderate: SUSE including 24 source package names (1.17-12.3:go1.17-1.17.11-150000.1.37.1, 1.18-7.3:go1.18-1.18.3-150000.1.20.1, …), 150 product×package rows across 33 product lines (Container bci/golang, SUSE CaaS Platform 4.0, … (33 product lines)): Fixed 93, Known Not Affected 57. https://www.suse.com/security/cve/CVE-2022-30634/
ubuntu medium CVE-2022-30634 medium priority: Ubuntu including 6 source packages (golang-1.11, golang-1.15, golang-1.17, golang-1.18, golang-1.7, golang-1.8), 28 status rows across 13 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, upstream, xenial): DNE 14, not-affected 10, ignored 2, needs-triage 2. https://ubuntu.com/security/CVE-2022-30634

Affected software / configurations for CVE-2022-30634

Vendor Product Version Raw CPE
golang go < 1.17.11 cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
golang go >= 1.18.0, < 1.18.3 cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
netapp cloud_insights_telegraf_agent cpe:2.3:a:netapp:cloud_insights_telegraf_agent:-:*:*:*:*:*:*:*

References for CVE-2022-30634

cvelogic Threat Intelligence