{"id":"CVE-2020-7664","aliases":["GO-2021-0228"],"url":"https://o3.security/vulnerability/CVE-2020-7664","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","published":"2021-05-18T20:31:06Z","modified":"2026-03-13T22:11:14.558135Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Go","name":"github.com/unknwon/cae","fixedVersion":"1.0.1"}],"fix":{"url":"https://github.com/unknwon/cae/commit/07971c00a1bfd9dc171c3ad0bfab5b67c2287e11","label":"unknwon/cae@07971c0"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-03-13T22:11:14.558135Z"}}