Skip to main content
← All vulnerabilities
CVE-2024-34156GO-2024-3106BIT-GOLANG-2024-34156

Stack exhaustion in Decoder.Decode in encoding/gob

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

Summary

Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • encoding/gob

    fixed in 1.22.7; From 1.23.0-0 · fixed in 1.23.1

  • stdlibGo

    fixed in 1.22.7; From 1.23.0-0 · fixed in 1.23.1

References 4

go.dev

groups.google.com

pkg.go.dev