7.5High

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

Go standard library encoding/gob; go_standard_library encoding\/gob Published: (2 years ago)

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.

Weakness (CWE): CWE-674

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library encoding/gob < 1.22.7, 1.23.0-0 – < 1.23.1

References and patches