GitHub Advisory Database
GHSA-rmj9-q58g-9qgg
go-unzip vulnerable to Path Traversal
Details
Due to improper path santization, 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 2.0.0 (fixed in 2.0.0) |