CVE-2020-7664 Arbitrary File Write via Archive Extraction (Zip Slip)
HighCVSS 7.5
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| unknwon github.com/unknwon/cae(Go) | < 1.0.1 | 1.0.1 |
| compression and archive extensions project compression and archive extensions zip project | All versions | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- snyk.io exploit third-party-advisory
- pkg.go.dev
- github.com
- github.com