PT-2022-20223 · Go+2 · Go+2

Davis Goodin

+1

·

Published

2022-06-07

·

Updated

2024-06-15

·

CVE-2022-30634

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Go versions prior to 1.17.11 Go versions prior to 1.18.3
Description The issue is related to an infinite loop in the Read function of the crypto/rand package in Go. This allows an attacker to cause an indefinite hang by passing a buffer larger than 1 << 32 - 1 bytes. The problem is specific to Windows.
Recommendations For Go versions prior to 1.17.11, update to version 1.17.11 or later to resolve the issue. For Go versions prior to 1.18.3, update to version 1.18.3 or later to resolve the issue.

Exploit

Fix

Infinite Loop

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2022-2036
ALT-PU-2022-2041
ALT-PU-2022-2873
ALT-PU-2023-1205
AZL-78962
BIT-GOLANG-2022-30634
CVE-2022-30634
GO-2022-0477
OESA-2022-1783
OPENSUSE-SU-2022_2004-1
OPENSUSE-SU-2022_2005-1
OPENSUSE-SU-2024:12123-1
OPENSUSE-SU-2024:12124-1
SUSE-SU-2022:2004-1
SUSE-SU-2022:2005-1
SUSE-SU-2023:2312-1

Affected Products

Alt Linux
Go
Suse