{"id":"CVE-2020-36560","details":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","aliases":["GHSA-rmj9-q58g-9qgg","GO-2020-0034"],"modified":"2026-03-14T10:30:01.378175Z","published":"2022-12-27T22:15:11.573Z","references":[{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2020-0034"},{"type":"ADVISORY","url":"https://snyk.io/research/zip-slip-vulnerability"},{"type":"FIX","url":"https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0"},{"type":"EVIDENCE","url":"https://github.com/artdarek/go-unzip/pull/2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/artdarek/go-unzip","events":[{"introduced":"0"},{"fixed":"6b0fdfb78726fde9025d01cbe254893449f26c50"},{"fixed":"4975cbe0a719dc50b12da8585f1f207c82f7dfe0"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.0.0"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36560.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}