CVE-2020-7664
published high CVSS 3.1 · 7.5Arbitrary File Write via Archive Extraction (Zip Slip)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | github.com/unknwon/cae/zip0 to < unspecified | Affected | Not stated | snyk |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P/RL:U/RC:C
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | github.com/unknwon/cae/zip | 0 to < unspecified (affected · custom) | snyk · cna |
Weaknesses
1- Arbitrary File Write via Archive Extraction (Zip Slip)
References
1Provider assertions
2snyk · cna
Arbitrary File Write via Archive Extraction (Zip Slip)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9104cb4b9415fb244466eac0b90e0078b17197c7c00db6983338379c3b619cd1
- Ingested
- 23 Sep 2026, 07:51:25 UTC
- Source record
- Official CVE record