7.5

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

Modified
AliasesUBUNTU-CVE-2022-30634GO-2022-0477BIT-golang-2022-30634
Published 15-07-2022Last modified 03-08-2024

Vulnerability summary

CVE-2022-30634 is a high (CVSS 7.5) Loop with Unreachable Exit Condition vulnerability in go standard library crypto/rand. EPSS estimates a 2.28% chance of exploitation in the next 30 days, higher than 83.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
2.28%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 15-07-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

2.28%

Chance of exploitation in the next 30 days

Percentile

83%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 2.26% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (go.dev)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu2 products
  • golang-1.17All versions (No fix recorded)
  • golang-1.8All versions (No fix recorded)
Alpine1 product
  • go≥ 1.18.0, < 1.18.4-r0
Go1 product
  • stdlib≥ 1.18.0-0, < 1.18.3
Go standard library1 product
Golang1 product
  • go< 1.17.11 | ≥ 1.18.0, < 1.18.3
Netapp1 product

6 vendors · 7 products

References

11 links
Show all 11 references