{"id":"CVE-2020-7668","published":"2020-06-17T16:00:21Z","modified":"2024-09-17T02:05:34Z","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/tz, 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.01365,"percentile":0.725,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAETZ-570384","tags":["x_refsource_MISC"]}],"priority":{"score":19.8,"factors":[{"name":"EPSS percentile","points":14.5},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"github.com/unknwon/cae/tz","versions":["< unspecified"]}],"affected":[{"ecosystem":"Go","package":"github.com/unknwon/cae","vulnerableRanges":["<1.0.1"],"patched":["1.0.1"],"from":["GHSA-88jf-7rch-32qc","GO-2020-0041"],"provenance":"source"}],"summary":{"text":"The ExtractTo function in the Go package github.com/unknwon/cae/tz fails to properly sanitise file paths within zip archives, so entries containing \"..\" sequences (leading or otherwise) are not contained to the destination directory. An attacker who can supply a crafted zip archive for extraction over the network, without authentication or user interaction, can add or overwrite files anywhere on the system the extracting process can write to.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:23Z"},"euvd":{"id":"EUVD-2021-1013","exploited":false,"provenance":"source"}}