{"schema_version":"1.3.1","id":"GO-2020-0026","modified":"2024-05-20T16:03:47Z","published":"2021-04-14T20:04:52Z","aliases":["CVE-2018-1103","GHSA-w55j-f7vx-6q37"],"summary":"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":[{"package":{"name":"github.com/openshift/source-to-image","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.10-0.20180427153919-f5cbcbc5cc6f"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/openshift/source-to-image/pkg/tar","symbols":["New","stiTar.ExtractTarStream","stiTar.ExtractTarStreamFromTarReader","stiTar.ExtractTarStreamWithLogging","stiTar.extractLink"]}]}}],"references":[{"type":"FIX","url":"https://github.com/openshift/source-to-image/commit/f5cbcbc5cc6f8cc2f479a7302443bea407a700cb"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2020-0026","review_status":"REVIEWED"}}