{"id":"GHSA-vpx7-vm66-qx8r","summary":"Path Traversal in github.com/unknwon/cae/zip","details":"The ExtractTo function doesn't securely escape file paths in zip archives which include leading or non-leading \"..\". This allows an attacker to add or replace files system-wide.\n\n### Specific Go Packages Affected\ngithub.com/unknwon/cae/zip","aliases":["CVE-2020-7664","GO-2021-0228"],"modified":"2026-03-13T22:11:14.558135Z","published":"2021-05-18T20:31:06Z","database_specific":{"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-05-12T20:27:31Z","nvd_published_at":"2020-06-23T19:38:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7664"},{"type":"WEB","url":"https://github.com/unknwon/cae/commit/07971c00a1bfd9dc171c3ad0bfab5b67c2287e11"},{"type":"WEB","url":"https://github.com/unknwon/cae"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0228"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAEZIP-570383"}],"affected":[{"package":{"name":"github.com/unknwon/cae","ecosystem":"Go","purl":"pkg:golang/github.com/unknwon/cae"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-vpx7-vm66-qx8r/GHSA-vpx7-vm66-qx8r.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:N"}]}