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.
[
{
"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"
}
]