{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-36561","id":"CVE-2020-36561","title":"Path traversal in github.com/yi-ge/unzip","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","descriptionLong":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","published":"2022-12-27T21:13:22.650Z","updated":"2026-10-20T10:54:21.482119597Z","reserved":"2022-07-29T17:07:52.749Z","status":"Modified","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["github.com/yi-ge/unzip"],"affectedProducts":[{"vendor":"github.com/yi-ge/unzip","product":"github.com/yi-ge/unzip","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.0.3-0.20200308084313-2adbaa4891b9","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/yi-ge/unzip","purl":"pkg:golang/github.com/yi-ge/unzip","ranges":["<1.0.3-0.20200308084313-2adbaa4891b9"],"fixed":["1.0.3-0.20200308084313-2adbaa4891b9"],"advisory":"GHSA-f5c5-hmw9-v8hx"}],"cwes":["CWE-22"],"aliases":["GHSA-f5c5-hmw9-v8hx","GO-2020-0035"],"references":[{"url":"https://github.com/yi-ge/unzip/pull/1","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web","fix"]},{"url":"https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_transferred","Technical Description","Third Party Advisory","advisory","web"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0035","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36561","tags":["advisory"]},{"url":"https://github.com/yi-ge/unzip","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.01414,"epssPercentile":0.73268,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-36561","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36561","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-36561","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f5c5-hmw9-v8hx","ok":true,"note":"GHSA-f5c5-hmw9-v8hx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-36561","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}