Go Vulnerability Database
GO-2020-0026
Arbitrary file write via archive extraction in github.com/openshift/source-to-image
Details
Due to improper path sanitization, 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/openshift/source-to-image | All versions before 1.1.10-0.20180427153919-f5cbcbc5cc6f (fixed in 1.1.10-0.20180427153919-f5cbcbc5cc6f) |