{"id":"CVE-2020-36561","published":"2022-12-27T21:13:22Z","modified":"2025-04-11T16:38:20Z","title":"Path traversal in github.com/yi-ge/unzip","vendor":"github.com/yi-ge/unzip","product":"github.com/yi-ge/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.01414,"percentile":0.7339,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/yi-ge/unzip/pull/1","tags":[]},{"url":"https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73","tags":[]},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2020-0035","tags":[]}],"priority":{"score":21.0,"factors":[{"name":"EPSS percentile","points":14.68},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"github-com-yi-ge-unzip","affectedVersions":[{"vendor":"github.com/yi-ge/unzip","product":"github.com/yi-ge/unzip","versions":["< 1.0.3-0.20200308084313-2adbaa4891b9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-11T16:37:46.487917Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/yi-ge/unzip","vulnerableRanges":["<1.0.3-0.20200308084313-2adbaa4891b9"],"patched":["1.0.3-0.20200308084313-2adbaa4891b9"],"from":["GHSA-f5c5-hmw9-v8hx","GO-2020-0035"],"provenance":"source"}],"summary":{"text":"The github.com/yi-ge/unzip library, a Go package for extracting zip archives, contains a path traversal flaw caused by improper sanitization of file paths in archive entries. An attacker who can supply a crafted archive that contains relative file paths can write or overwrite files outside the intended extraction directory, with no authentication, network access requirements, or user interaction beyond the application processing the archive.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:08:13Z"},"euvd":{"id":"EUVD-2022-7611","exploited":false,"provenance":"source"}}