{"id":"GHSA-9423-6c93-gpp8","summary":"github.com/sassoftware/go-rpmutils Arbitrary File Write via Archive Extraction (Zip Slip)","details":"The CPIO extraction functionality doesn't sanitize the paths of the archived files for leading and non-leading `..` which leads in file extraction outside of the current directory. Note, the fixing commit was applied to all affected versions which were re-released.","aliases":["CVE-2020-7667","GO-2020-0042","SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427"],"modified":"2026-07-08T06:49:49.155529848Z","published":"2021-06-23T17:13:29Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-05-12T14:56:04Z","nvd_published_at":"2020-06-24T12:15:00Z","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7667"},{"type":"WEB","url":"https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0"},{"type":"PACKAGE","url":"https://github.com/sassoftware/go-rpmutils"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2020-0042"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427"}],"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"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-9423-6c93-gpp8/GHSA-9423-6c93-gpp8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}