{"id":"GO-2022-0521","summary":"Stack exhaustion from deeply nested XML documents in encoding/xml","details":"Calling Decoder.Skip when parsing a deeply nested XML document can cause a panic due to stack exhaustion.","aliases":["BIT-golang-2022-28131","CVE-2022-28131"],"modified":"2024-05-20T16:03:47Z","published":"2022-07-20T17:02:04Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0521","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://go.dev/cl/417062"},{"type":"FIX","url":"https://go.googlesource.com/go/+/08c46ed43d80bbb67cb904944ea3417989be4af3"},{"type":"REPORT","url":"https://go.dev/issue/53614"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}],"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":[{"symbols":["Decoder.Skip"],"path":"encoding/xml"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0521.json"}}],"schema_version":"1.7.3","credits":[{"name":"Go Security Team"},{"name":"Juho Nurminen of Mattermost"}]}