cve.bz

CVE-2022-30634 Infinite Loop

7.5 highExploit referenceEPSS 2.3%Fix available

High (7.5). EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.17.11, 1.18.3.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-30634 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-30634?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-30634?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-30634 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library crypto/randbefore 1.17.11
Go standard library crypto/randfrom 1.18.0-0 before 1.18.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2022-0477Gostdlib<1.17.11
>=1.18.0-0 <1.18.3
1.17.11, 1.18.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTSgolang-1.8no fix listedUBUNTU-CVE-2022-30634
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morego1.18-openssl1.18.10.1-150000.1.9.1SUSE-SU-2023:2312-1
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4go1.171.17.11-150000.1.37.1SUSE-SU-2022:2004-1
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4go1.181.18.3-150000.1.20.1SUSE-SU-2022:2005-1
openSUSELeap 15.3, Leap 15.4go1.171.17.11-150000.1.37.1SUSE-SU-2022:2004-1
openSUSELeap 15.3, Leap 15.4go1.181.18.3-150000.1.20.1SUSE-SU-2022:2005-1
openSUSELeap 15.4, Leap 15.5go1.18-openssl1.18.10.1-150000.1.9.1SUSE-SU-2023:2312-1
openSUSETumbleweedgo1.171.17.11-1.1openSUSE-SU-2024:12123-1
openSUSETumbleweedgo1.181.18.3-1.1openSUSE-SU-2024:12124-1
Alpinev3.16go1.18.4-r0ALPINE-CVE-2022-30634
Azure Linux3golangno fix listedAZL-78962 AZL-98796

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE · Alpine.

References

Check your stackJSON