{"schema_version":"1.7.3","id":"GO-2022-0526","published":"2022-07-20T20:52:17Z","modified":"2024-05-20T16:03:47Z","aliases":["BIT-golang-2022-30635","CVE-2022-30635"],"summary":"Stack exhaustion when decoding certain messages in encoding/gob","details":"Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion.","affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0-0"},{"fixed":"1.18.4"}]}],"ecosystem_specific":{"imports":[{"path":"encoding/gob","symbols":["Decoder.compileDec","Decoder.compileIgnoreSingle","Decoder.decIgnoreOpFor"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0526.json"}}],"references":[{"type":"FIX","url":"https://go.dev/cl/417064"},{"type":"FIX","url":"https://go.googlesource.com/go/+/6fa37e98ea4382bf881428ee0c150ce591500eb7"},{"type":"REPORT","url":"https://go.dev/issue/53615"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2022-0526"}}