CVE Vulnerabilities

CVE-2022-30634

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Jul 15, 2022 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

Name Vendor Start Version End Version
Go Golang * 1.17.11 (excluding)
Go Golang 1.18.0 (including) 1.18.3 (excluding)
Golang-1.15 Ubuntu impish *
Golang-1.17 Ubuntu impish *
Golang-1.8 Ubuntu bionic *

References