VDB
Sign up
—

GO-2020-0026

Arbitrary file write via archive extraction in github.com/openshift/source-to-image

Quick fix

GO-2020-0026 — github.com/openshift/source-to-image: upgrade to the fixed version with the command below.

go get github.com/openshift/source-to-image@v1.1.10-0.20180427153919-f5cbcbc5cc6f

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/openshift/source-to-image
Introduced in: 0Fixed in: 1.1.10-0.20180427153919-f5cbcbc5cc6f
Fixgo get github.com/openshift/source-to-image@v1.1.10-0.20180427153919-f5cbcbc5cc6f

References