{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-36560","id":"CVE-2020-36560","title":"Path traversal in github.com/artdarek/go-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:20.828Z","updated":"2026-10-20T10:54:21.426123361Z","reserved":"2022-07-29T17:03:36.479Z","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/artdarek/go-unzip"],"affectedProducts":[{"vendor":"github.com/artdarek/go-unzip","product":"github.com/artdarek/go-unzip","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.0.0","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/artdarek/go-unzip","purl":"pkg:golang/github.com/artdarek/go-unzip","ranges":["<2.0.0","<1.0.0"],"fixed":["2.0.0","1.0.0"],"advisory":"GHSA-rmj9-q58g-9qgg"}],"cwes":["CWE-22"],"aliases":["GHSA-rmj9-q58g-9qgg","GO-2020-0034"],"references":[{"url":"https://github.com/artdarek/go-unzip/pull/2","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web","fix"]},{"url":"https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0","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-0034","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36560","tags":["advisory"]},{"url":"https://github.com/artdarek/go-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.01333,"epssPercentile":0.71744,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-36560","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36560","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-36560","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rmj9-q58g-9qgg","ok":true,"note":"GHSA-rmj9-q58g-9qgg"},{"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-36560","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}