Skip to main content
← All vulnerabilities
CVE-2022-30631GO-2022-0524BIT-GOLANG-2022-30631

Stack exhaustion when reading certain archives in compress/gzip

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.17.12, 1.18.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via an archive containing a large number of concatenated 0-length compressed files.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • compress/gzip

    fixed in 1.17.12; From 1.18.0-0 · fixed in 1.18.4

  • stdlibGo

    fixed in 1.17.12; From 1.18.0-0 · fixed in 1.18.4

References 5

go.dev

go.googlesource.com

groups.google.com

pkg.go.dev