| { |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0", |
| "cveMetadata": { |
| "cveId": "CVE-2024-34156" |
| }, |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc" |
| }, |
| "title": "Stack exhaustion in Decoder.Decode in encoding/gob", |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "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": [ |
| { |
| "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" |
| } |
| ], |
| "problemTypes": [ |
| { |
| "descriptions": [ |
| { |
| "lang": "en", |
| "description": "CWE-674: Uncontrolled Recursion" |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://go.dev/cl/611239" |
| }, |
| { |
| "url": "https://go.dev/issue/69139" |
| }, |
| { |
| "url": "https://groups.google.com/g/golang-dev/c/S9POB9NCTdk" |
| }, |
| { |
| "url": "https://pkg.go.dev/vuln/GO-2024-3106" |
| } |
| ], |
| "credits": [ |
| { |
| "lang": "en", |
| "value": "Md Sakib Anwar of The Ohio State University (anwar.40@osu.edu)" |
| } |
| ] |
| } |
| } |
| } |