Go Vulnerability Database
GO-2020-0034
Path traversal in github.com/artdarek/go-unzip
Details
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/artdarek/go-unzip | All versions before 1.0.0 (fixed in 1.0.0) |