What’s Vulnerable › Vulnerabilities
CVE-2020-7664: Arbitrary File Write via Archive Extraction (Zip Slip)
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-06-23 · updated 2026-06-17
- Weakness: CWE-22
Description
In all versions of the package github.com/unknwon/cae/zip, 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.
Affected products
- Compression And Archive Extensions Project Compression And Archive Extensions Zip Project: all versions
References
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAEZIP-570383
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAEZIP-570383
Get alerted when CVE-2020-7664 or the next vulnerability affects your stack