VDB
Sign up
—

GO-2020-0034

Path traversal in github.com/artdarek/go-unzip

Quick fix

GO-2020-0034 — github.com/artdarek/go-unzip: upgrade to the fixed version with the command below.

go get github.com/artdarek/go-unzip@v1.0.0

Details

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/artdarek/go-unzip
Introduced in: 0Fixed in: 1.0.0
Fixgo get github.com/artdarek/go-unzip@v1.0.0

References