CVE-2022-30634
No exploitation reported by the sources we read.
- Published2022-07-15
- Fixed in1.18.3 · 1.17.11
- WeaknessCWE-835
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2022-07-1520:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.18 | ≥ 1.18.0, < 1.18.3 | 1.18.3 | NVD · OSV |
| 1.18 | ≥ 1.18.0-0, < 1.18.3 | 1.18.3 | OSV |
| 1.17 | < 1.17.11 | 1.17.11 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- goAlpine:v3.16from 1.18.0 · fixed in 1.18.4-r0
- go1.17SUSE:Linux Enterprise Module for Development Tools 15 SP4all versions · fixed in 1.17.11-150000.1.37.1
- go1.17SUSE:Linux Enterprise Module for Development Tools 15 SP3all versions · fixed in 1.17.11-150000.1.37.1
- go1.17openSUSE:Tumbleweedall versions · fixed in 1.17.11-1.1
- go1.17openSUSE:Leap 15.4all versions · fixed in 1.17.11-150000.1.37.1
- go1.17openSUSE:Leap 15.3all versions · fixed in 1.17.11-150000.1.37.1
- go1.18SUSE:Linux Enterprise Module for Development Tools 15 SP4all versions · fixed in 1.18.3-150000.1.20.1
- go1.18SUSE:Linux Enterprise Module for Development Tools 15 SP3all versions · fixed in 1.18.3-150000.1.20.1
19 more package ranges on OSV.dev
Fix
- Update Go to 1.18.3 · 1.17.11
Advisories and patches
- go.devPatch
- go.googlesource.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.5read 2026-10-23
- NVDweakness (CWE)CWE-835read 2026-10-23
- FIRST EPSSEPSS score2.3 %2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-78962same flawAzure Linux · MIT
- AZL-98796same flawAzure Linux · MIT
- BIT-golang-2022-30634same flawBitnami · Apache-2.0
- EUVD-2022-52465same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-vfh9-chgv-wfphsame flawGitHub Advisory Database · CC-BY-4.0
- GO-2022-0477same flawGo Vulnerability Database · CC-BY-4.0
- OESA-2022-1783advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:12123-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12124-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2022:2004-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:2005-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:2312-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2022-07-15
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-vfh9-chgv-wfph
Frequently asked questions
What is CVE-2022-30634?
Is CVE-2022-30634 actively exploited?
What is the CVSS score for CVE-2022-30634?
Running Go? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-vfh9-chgv-wfph
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served