GitHub Advisory Database
GHSA-f5c5-hmw9-v8hx
Unzip vulnerable to path traversal
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) |