{"id":"CVE-2020-36560","published":"2022-12-27T21:13:20Z","modified":"2025-04-11T16:37:12Z","title":"Path traversal in github.com/artdarek/go-unzip","vendor":"github.com/artdarek/go-unzip","product":"github.com/artdarek/go-unzip","tier":"tail","description":{"text":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01333,"percentile":0.71831,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/artdarek/go-unzip/pull/2","tags":[]},{"url":"https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0","tags":[]},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2020-0034","tags":[]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":14.37},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"github-com-artdarek-go-unzip","affectedVersions":[{"vendor":"github.com/artdarek/go-unzip","product":"github.com/artdarek/go-unzip","versions":["< 1.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-11T16:36:22.159861Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/artdarek/go-unzip","vulnerableRanges":["<2.0.0","<1.0.0"],"patched":["2.0.0","1.0.0"],"from":["GHSA-rmj9-q58g-9qgg","GO-2020-0034"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal weakness in the github.com/artdarek/go-unzip library, caused by improper sanitization of file paths inside archives. An attacker can supply an archive containing relative file paths that cause files to be written or overwritten outside the intended extraction directory, requiring only that a victim process the crafted archive without any authentication or user interaction beyond that.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:12:36Z"},"euvd":{"id":"EUVD-2022-7737","exploited":false,"provenance":"source"}}