Go Vulnerability Database
GO-2021-0067
Panic when opening archives in archive/zip
Details
Using Reader.Open on an archive containing a file with a path prefixed by "../" will cause a panic due to a stack overflow. If parsing user supplied archives, this may be used as a denial of service vector.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | From 1.16.0-0 before 1.16.1 (fixed in 1.16.1) |