What’s Vulnerable › Vulnerabilities

CVE-2024-34156: Stack exhaustion in Decoder.Decode in encoding/gob

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Go standard library Encoding/Gob 1.22.7, 1.23.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-34156 or the next vulnerability affects your stack