Path Traversal in Compression And Archive Extensions Project Zip
CVE-2020-7664
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.015 · 74.1th percentile
- Published
- 2020-06-23
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.015, 74.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Compression And Archive Extensions Project Zip
- Github.com/unknwon/cae/zip — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (jpbprakash/vuln, mile9299/zip-slip-vulnerability, snyk/zip-slip-vulnerability). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAEZIP-570383 (Exploit, Third Party Advisory)