Skip to content

CVE-2022-30634 Indefinite hang with large buffers on Windows in crypto/rand

HighCVSS 7.5 EPSS 2.3%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
stdlib(Go) < 1.17.11 1.17.11
stdlib(Go) >= 1.18.0-0, < 1.18.3 1.18.3
crypto/rand(Go) < 1.17.11 1.17.11
crypto/rand(Go) >= 1.18.0-0, < 1.18.3 1.18.3
ubuntu/golang-1.17(Ubuntu:22.04) All versions No fix listed
golang go < 1.17.11 1.17.11
golang go >= 1.18.0, < 1.18.3 1.18.3
netapp cloud insights telegraf agent All versions No fix listed
ubuntu/golang-1.8(Ubuntu:18.04) All versions No fix listed
ubuntu/golang-1.8(Ubuntu:18.04) = 1.8.3-2ubuntu1 No fix listed
ubuntu/golang-1.8(Ubuntu:18.04) = 1.8.3-2ubuntu1.18.04.1 No fix listed
alpine/go(Alpine:v3.16) >= 1.18.0, < 1.18.4-r0 1.18.4-r0

References