CVE-2020-7668 Arbitrary File Write via Archive Extraction (Zip Slip)
HighCVSS 7.5
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Ubuntu
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.
Upgrade path
4 packages: 1 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| compression and archive extensions tz project | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-unknwon-cae(Ubuntu 18.04) | = 0.0~git20160715.0.c6aac99-1; = 0.0~git20160715.0.c6aac99-2; = 0.0~git20160715.0.c6aac99-4; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-unknwon-cae(Ubuntu 20.04) | = 0.0~git20160715.0.c6aac99-4; All versions | No fix listed | No fix yet |
| unknwon github.com/unknwon/cae(Go) | < 1.0.1 | 1.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| unknwon github.com/unknwon/cae(Go) | < 1.0.1 | 1.0.1 |
| compression and archive extensions tz project | All versions | No fix listed |
| ubuntu/golang-github-unknwon-cae(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/golang-github-unknwon-cae(Ubuntu:18.04) | = 0.0~git20160715.0.c6aac99-1 | No fix listed |
| ubuntu/golang-github-unknwon-cae(Ubuntu:18.04) | = 0.0~git20160715.0.c6aac99-2 | No fix listed |
| ubuntu/golang-github-unknwon-cae(Ubuntu:18.04) | = 0.0~git20160715.0.c6aac99-4 | No fix listed |
| ubuntu/golang-github-unknwon-cae(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/golang-github-unknwon-cae(Ubuntu:20.04) | = 0.0~git20160715.0.c6aac99-4 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- snyk.io exploit issue-tracking third-party-advisory
- pkg.go.dev
- snyk.io
- github.com
- github.com product
- ubuntu.com issue-tracking
- www.cve.org issue-tracking