CVE-2022-30634
publishedIndefinite hang with large buffers on Windows in crypto/rand
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Go standard library | — | crypto/rand0 to < 1.17.11 · 1.18.0-0 to < 1.18.3 · Other versions: unaffected · Platforms: windows | Affected | Not stated | Go |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2015 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2GOLANG1.19-2023-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-175 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | v3.16 | go | Fixed | 1.18.4-r0 | Package fix record |
| Oracle Linux | 8 | delveaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.7.2-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| SUSE / openSUSE | SLE-15-SP3 | go1.17aarch64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| Oracle Linux | 8 | delveaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.8.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | delvex86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.7.2-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | delvex86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.8.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | go-toolsetaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | go-toolsetaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | go-toolsetx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | go-toolsetx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golangaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golangaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golangx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golangx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golang-binaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golang-binaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golang-binx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golang-binx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golang-docsaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golang-docsaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golang-docsx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golang-docsx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golang-miscaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golang-miscaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golang-miscx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golang-miscx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golang-racex86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golang-racex86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golang-srcaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golang-srcaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golang-srcx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golang-srcx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golang-testsaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golang-testsaarch64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| Oracle Linux | 8 | golang-testsx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.17.11-1.0.1.module+el8.6.0+20703+24a110ad | ELSA-2022-17957 |
| Oracle Linux | 8 | golang-testsx86_64 · go-toolset · ol8addon is enabled | Advisory build | 0:1.18.3-1.0.1.module+el8.6.0+20704+139a7dad | ELSA-2022-17956 |
| SUSE / openSUSE | SLE-15-SP3 | go1.17ppc64le | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.17s390x | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.17x86_64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.17-docaarch64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.17-docppc64le | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.17-docs390x | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.17-docx86_64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.17-raceaarch64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.17-racex86_64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18aarch64 | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18ppc64le | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18s390x | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18x86_64 | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-docaarch64 | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-docppc64le | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-docs390x | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-docx86_64 | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-opensslaarch64 | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-opensslppc64le | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-openssls390x | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-opensslx86_64 | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-openssl-docaarch64 | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-openssl-docppc64le | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-openssl-docs390x | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-openssl-docx86_64 | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-openssl-raceaarch64 | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-openssl-racex86_64 | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-raceaarch64 | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP3 | go1.18-racex86_64 | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.17aarch64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.17ppc64le | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.17s390x | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.17x86_64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.17-docaarch64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.17-docppc64le | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.17-docs390x | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.17-docx86_64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.17-raceaarch64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.17-racex86_64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18aarch64 | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18ppc64le | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18s390x | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18x86_64 | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-docaarch64 | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-docppc64le | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-docs390x | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-docx86_64 | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-opensslaarch64 | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-opensslppc64le | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-openssls390x | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-opensslx86_64 | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-openssl-docaarch64 | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-openssl-docppc64le | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-openssl-docs390x | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-openssl-docx86_64 | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-openssl-raceaarch64 | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-openssl-racex86_64 | Advisory build | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-raceaarch64 | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | SLE-15-SP4 | go1.18-racex86_64 | Advisory build | 1.18.3-150000.1.20.1 | SUSE-SU-2022:2005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | go1.17aarch64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | go1.17i586 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | go1.17ppc64le | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | go1.17s390x | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | go1.17x86_64 | Advisory build | 1.17.11-150000.1.37.1 | SUSE-SU-2022:2004-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Go standard library | crypto/rand | 0 to < 1.17.11 (affected · semver)1.18.0-0 to < 1.18.3 (affected · semver)Default: unaffected | Go · cna |
Weaknesses
1- CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
References
5Provider assertions
2Go · cna
Indefinite hang with large buffers on Windows in crypto/rand
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- be065b7b9d94a1eb81be32731987197c1bb69dc87b875aac83dc895efc16cc75
- Ingested
- 23 Sep 2026, 08:00:17 UTC
- Source record
- Official CVE record