—
GO-2020-0035
Path traversal in github.com/yi-ge/unzip
Quick fix
GO-2020-0035 — github.com/yi-ge/unzip: upgrade to the fixed version with the command below.
go get github.com/yi-ge/unzip@v1.0.3-0.20200308084313-2adbaa4891b9Details
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/yi-ge/unzip
Introduced in:
0Fixed in: 1.0.3-0.20200308084313-2adbaa4891b9Fix
go get github.com/yi-ge/unzip@v1.0.3-0.20200308084313-2adbaa4891b9