{"id":"CVE-2020-7664","published":"2020-06-17T16:00:17Z","modified":"2024-09-17T02:26:16Z","title":"Arbitrary File Write via Archive Extraction (Zip Slip)","vendor":null,"product":null,"tier":"tail","description":{"text":"In all versions of the package github.com/unknwon/cae/zip, the ExtractTo function doesn't securely escape file paths in zip archives which include leading or non-leading \"..\". This allows an attacker to add or replace files system-wide.","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/E:P/RL:U/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01455,"percentile":0.74109,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAEZIP-570383","tags":["x_refsource_MISC"]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":14.82},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"github.com/unknwon/cae/zip","versions":["< unspecified"]}],"affected":[{"ecosystem":"Go","package":"github.com/unknwon/cae","vulnerableRanges":["<1.0.1"],"patched":["1.0.1"],"from":["GHSA-vpx7-vm66-qx8r","GO-2021-0228"],"provenance":"source"}],"summary":{"text":"The ExtractTo function in the Go package github.com/unknwon/cae/zip does not properly sanitise file paths inside zip archives, so entries containing \"..\" (leading or embedded) are not escaped. An attacker who can supply a crafted zip archive to an application using this package can add or replace files anywhere on the system, subject to the permissions of the process performing the extraction; the attack vector is network-reachable with no privileges or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:37Z"},"euvd":{"id":"EUVD-2021-1206","exploited":false,"provenance":"source"}}