Skip to main content
← All vulnerabilities
CVE-2022-30634GO-2022-0477BIT-GOLANG-2022-30634

Indefinite hang with large buffers on Windows in crypto/rand

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.17.11, 1.18.3
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • crypto/rand

    fixed in 1.17.11; From 1.18.0-0 · fixed in 1.18.3

  • stdlibGo

    fixed in 1.17.11; From 1.18.0-0 · fixed in 1.18.3

References 5

go.dev

go.googlesource.com

groups.google.com

pkg.go.dev