What’s Vulnerable › Vulnerabilities
CVE-2020-7668: 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.3% 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/tz, 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 Tz Project: all versions
References
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAETZ-570384
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAETZ-570384
Get alerted when CVE-2020-7668 or the next vulnerability affects your stack