Go Vulnerability Database
GO-2020-0035
Path traversal in github.com/yi-ge/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/yi-ge/unzip | All versions before 1.0.3-0.20200308084313-2adbaa4891b9 (fixed in 1.0.3-0.20200308084313-2adbaa4891b9) |