Skip to content
OpenAdvisories
Unscored CVE-2022-30634 BIT-golang-2022-30634EUVD-2022-52465GHSA-vfh9-chgv-wfphGO-2022-0477

Indefinite hang with large buffers on Windows in crypto/rand

Published Jul 15, 2022 · Updated Aug 3, 2024 · Assigned by Go

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.

Affected products

VendorProductAffectedFixed
Go standard library crypto/rand < 1.17.11, 1.18.0-0 – < 1.18.3 1.17.11

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS golang-1.17 No fix yet —
Ubuntu 18.04 LTS golang-1.8 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP4 go1.17 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SLES 15 SP4 go1.18 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SLES 15 SP4 go1.18-openssl 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SLES 15 SP3 go1.17 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
SLES 15 SP3 go1.18 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
SLES 15 SP3 go1.18-openssl 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 go1.18-openssl 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SLE Real Time 15 SP3 go1.18-openssl 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SLE HPC 15 SP3 go1.18-openssl 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
SUSE Enterprise Storage 7.1 go1.18-openssl 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed go1.17 1.17.11-1.1 openSUSE-SU-2024:12123-1
openSUSE Tumbleweed go1.18 1.18.3-1.1 openSUSE-SU-2024:12124-1
openSUSE Leap 15.5 go1.18-openssl 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
openSUSE Leap 15.4 go1.17 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
openSUSE Leap 15.4 go1.18 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
openSUSE Leap 15.4 go1.18-openssl 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
openSUSE Leap 15.3 go1.17 1.17.11-150000.1.37.1 SUSE-SU-2022:2004-1
openSUSE Leap 15.3 go1.18 1.18.3-150000.1.20.1 SUSE-SU-2022:2005-1
ReleasePackageFixed inAdvisory
Alpine v3.16 go 1.18.4-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 golang +7 1.19.8-1.amzn2023.0.1 ALAS2023-2023-175
Amazon Linux 2 golang +7 1.18.9-1.amzn2.0.2 ALAS2-2023-2015

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 golang No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 delve 1.7.2-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957, ELSA-2022-17956
Oracle Linux 8 go-toolset 1.17.11-1.module+el8.6.0+20703+24a110ad ELSA-2022-17957, ELSA-2022-17956
Oracle Linux 8 golang +6 1.17.11-1.0.1.module+el8.6.0+20703+24a110ad ELSA-2022-17957, ELSA-2022-17956

Affected packages

EcosystemPackageAffectedFixedRecord
Go stdlib < 1.17.11 · >= 1.18.0-0, < 1.18.3 1.17.11, 1.18.3 GO-2022-0477

Advisories 13

References