VDB
Sign up
—

GO-2020-0042

Arbitrary File Write via Archive Extraction (Zip Slip) in github.com/sassoftware/go-rpmutils

Quick fix

GO-2020-0042 — github.com/sassoftware/go-rpmutils: upgrade to the fixed version with the command below.

go get github.com/sassoftware/go-rpmutils@v0.1.0

Details

Due to improper path sanitization, RPMs 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/sassoftware/go-rpmutils
Introduced in: 0Fixed in: 0.1.0
Fixgo get github.com/sassoftware/go-rpmutils@v0.1.0

References