{"id":"CVE-2020-7667","published":"2020-06-24T12:00:15Z","modified":"2024-09-17T02:48:08Z","title":"Arbitrary File Write via Archive Extraction (Zip Slip)","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01615,"percentile":0.76627,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427","tags":["x_refsource_MISC"]},{"url":"https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0","tags":["x_refsource_MISC"]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":15.33},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"github.com/sassoftware/go-rpmutils/cpio","versions":[">= unspecified, < 0.1.0"]}],"affected":[{"ecosystem":"Go","package":"github.com/sassoftware/go-rpmutils","vulnerableRanges":["<0.1.0"],"patched":["0.1.0"],"from":["GHSA-9423-6c93-gpp8","GO-2020-0042"],"provenance":"source"}],"summary":{"text":"The flaw is an archive path traversal (Zip Slip) in the CPIO extraction functionality of the Go package github.com/sassoftware/go-rpmutils/cpio, where archived file paths containing leading or non-leading \"..\" sequences are not sanitised before extraction. An attacker who can supply a crafted CPIO archive for the package to extract can write files outside the intended extraction directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:19Z"},"euvd":{"id":"EUVD-2021-1296","exploited":false,"provenance":"source"}}