// For flags

CVE-2024-34156

Stack exhaustion in Decoder.Decode in encoding/gob

Severity Score

7.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Attend
*SSVC
Descriptions

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.

A flaw was found in the encoding/gob package of the Golang standard library. Calling Decoder.Decoding, a message that contains deeply nested structures, can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.

*Credits: Md Sakib Anwar of The Ohio State University (anwar.40@osu.edu)
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:Attend
Exploitation
None
Automatable
Yes
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2024-05-01 CVE Reserved
  • 2024-09-06 CVE Published
  • 2024-09-07 EPSS Updated
  • 2024-09-26 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-674: Uncontrolled Recursion
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Go Standard Library
Search vendor "Go Standard Library"
Encoding/gob
Search vendor "Go Standard Library" for product "Encoding/gob"
< 1.22.7
Search vendor "Go Standard Library" for product "Encoding/gob" and version " < 1.22.7"
en
Affected
Go Standard Library
Search vendor "Go Standard Library"
Encoding/gob
Search vendor "Go Standard Library" for product "Encoding/gob"
>= 1.23.0-0 < 1.23.1
Search vendor "Go Standard Library" for product "Encoding/gob" and version " >= 1.23.0-0 < 1.23.1"
en
Affected