CVE-2024-34156
JSON

7.5high

Stack exhaustion in Decoder.Decode in encoding/gob

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.75% (higher than 78% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2024-3106BIT-GOLANG-2024-34156

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

Product or packageVersionsReported by
encoding/gobbefore 1.22.7, from 1.23.0-0 before 1.23.1CVE List
go_standard_library encoding\/gobbefore 1.22.7, from 1.23.0-0 before 1.23.1CVE List
stdlib (Go)before 1.22.7, from 1.23.0-0 before 1.23.1Go Vulnerability Database
golang (Bitnami)before 1.22.7, from 1.23.0-0 before 1.23.1Bitnami Vulnerability Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-674

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Llamar a Decoder.Decode en un mensaje que contiene estructuras profundamente anidadas puede provocar un pánico debido al agotamiento de la pila. Esta es una continuación de CVE-2022-30635.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2024-34156 changed 2024-09-26CVE Terms of Use
Go Vulnerability DatabaseGO-2024-3106 changed 2026-11-23CC-BY-4.0
NVDCVE-2024-34156 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2024-34156 changed 2025-05-20Apache-2.0