{"id":"GO-2020-0042","summary":"Arbitrary File Write via Archive Extraction (Zip Slip) in github.com/sassoftware/go-rpmutils","details":"Due to improper path sanitization, RPMs containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","aliases":["CVE-2020-7667","GHSA-9423-6c93-gpp8","SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427"],"modified":"2026-05-07T04:56:55.624398624Z","published":"2021-04-14T20:04:52Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2020-0042"},"references":[{"type":"FIX","url":"https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"}],"affected":[{"package":{"name":"github.com/sassoftware/go-rpmutils","ecosystem":"Go","purl":"pkg:golang/github.com/sassoftware/go-rpmutils"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.0"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/sassoftware/go-rpmutils/cpio","symbols":["Extract"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2020-0042.json"}}],"schema_version":"1.7.5"}