{"id":"GHSA-rmj9-q58g-9qgg","summary":"go-unzip vulnerable to Path Traversal","details":"Due to improper path santization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","aliases":["CVE-2020-36560","GO-2020-0034"],"modified":"2023-11-08T04:03:47.420850Z","published":"2022-12-28T00:30:23Z","database_specific":{"nvd_published_at":"2022-12-27T22:15:00Z","cwe_ids":["CWE-22"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-12-30T19:06:21Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36560"},{"type":"WEB","url":"https://github.com/artdarek/go-unzip/pull/2"},{"type":"WEB","url":"https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0"},{"type":"PACKAGE","url":"https://github.com/artdarek/go-unzip"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2020-0034"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"}],"affected":[{"package":{"name":"github.com/artdarek/go-unzip","ecosystem":"Go","purl":"pkg:golang/github.com/artdarek/go-unzip"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-rmj9-q58g-9qgg/GHSA-rmj9-q58g-9qgg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}