{"id":"CVE-2020-7667","aliases":["CVE-2020-7667","GHSA-9423-6c93-gpp8","GO-2020-0042","SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary File Write via Archive Extraction (Zip Slip)","summary":"In package github.com/sassoftware/go-rpmutils/cpio before version 0.1.0, 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In package github.com/sassoftware/go-rpmutils/cpio before version 0.1.0, 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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Due to improper path sanitization, RPMs containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","format":"markdown","source":"go"},{"lang":"es","text":"En el paquete github.com/sassoftware/go-rpmutils/cpio anterior a la versión 0.1.0, la funcionalidad de extracción de CPIO, no sanea las rutas de los archivos archivados conduciendo o no \"..\", lo que conlleva a una extracción de archivos fuera del directorio actual. Nota: la confirmación de la corrección fue aplicada a todas las versiones afectadas que se volvieron a publicar","source":"nvd"}],"published":"2020-06-24T12:00:15.519Z","modified":"2026-07-08T06:49:49.155Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.1.0","status":"affected"}],"product":"github.com/sassoftware/go-rpmutils/cpio","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.1.0"}],"ecosystem":"Go","package":"github.com/sassoftware/go-rpmutils","purl":"pkg:golang/github.com/sassoftware/go-rpmutils","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.1.0"}],"ecosystem":"Go","package":"github.com/sassoftware/go-rpmutils","purl":"pkg:golang/github.com/sassoftware/go-rpmutils","source":"go"},{"ranges":[{"status":"affected","fixed":"0.1.0"}],"vendor":"sas","product":"go_rpm_utils","cpe":"cpe:2.3:a:sas:go_rpm_utils:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7667","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sassoftware/go-rpmutils","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0042","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["web"],"sources":["ghsa","go"]}],"credits":["Georgios Gkitsas of Snyk Security Team"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7667","url":"https://www.cve.org/CVERecord?id=CVE-2020-7667","licence":"CVE Terms of Use","modified":"2024-09-17T02:48:08.483Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9423-6c93-gpp8","url":"https://github.com/advisories/GHSA-9423-6c93-gpp8","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:49.155Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2020-0042","url":"https://pkg.go.dev/vuln/GO-2020-0042","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:49.155Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7667","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7667","licence":"Public domain","modified":"2026-06-17T03:25:13.807Z"}],"updatedAt":"2026-11-25T22:57:53.100Z","epss":{"score":0.01615,"percentile":0.76719,"date":"2026-12-01T12:00:22.000Z"}}