Lucene search

K
cvelistGoCVELIST:CVE-2024-34156
HistorySep 06, 2024 - 8:42 p.m.

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

2024-09-0620:42:42
Go
www.cve.org
9
cve-2024-34156
stack exhaustion
decoder.decode
encoding/gob
deeply nested structures
panic

EPSS

0.002

Percentile

56.4%

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.

CNA Affected

[
  {
    "vendor": "Go standard library",
    "product": "encoding/gob",
    "collectionURL": "https://pkg.go.dev",
    "packageName": "encoding/gob",
    "versions": [
      {
        "version": "0",
        "lessThan": "1.22.7",
        "status": "affected",
        "versionType": "semver"
      },
      {
        "version": "1.23.0-0",
        "lessThan": "1.23.1",
        "status": "affected",
        "versionType": "semver"
      }
    ],
    "programRoutines": [
      {
        "name": "Decoder.decIgnoreOpFor"
      },
      {
        "name": "Decoder.Decode"
      },
      {
        "name": "Decoder.DecodeValue"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

EPSS

0.002

Percentile

56.4%