Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Compression And Archive Extensions Project | Compression And Archive Extensions Zip Project | All versions |
Related Weaknesses (CWE)
References
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAEZIP-570383ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUNKNWONCAEZIP-570383ExploitThird Party Advisory
FAQ
What is CVE-2020-7664?
CVE-2020-7664 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2020-7664?
CVE-2020-7664 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-7664?
Check the references section above for vendor advisories and patch information. Affected products include: Compression And Archive Extensions Project Compression And Archive Extensions Zip Project.