{"id":"GO-2022-0524","summary":"Stack exhaustion when reading certain archives in compress/gzip","details":"Calling Reader.Read on an archive containing a large number of concatenated 0-length compressed files can cause a panic due to stack exhaustion.","aliases":["BIT-golang-2022-30631","CVE-2022-30631"],"modified":"2024-05-20T16:03:47Z","published":"2022-07-20T20:52:11Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0524","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://go.dev/cl/417067"},{"type":"FIX","url":"https://go.googlesource.com/go/+/b2b8872c876201eac2d0707276c6999ff3eb185e"},{"type":"REPORT","url":"https://go.dev/issue/53168"},{"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":["Reader.Read"],"path":"compress/gzip"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0524.json"}}],"schema_version":"1.7.3"}