Path Traversal in Compression And Archive Extensions Project Zip

CVE-2020-7664

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)

EPSS: 0.014 (70.1th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-7664?
CVE-2020-7664 is a high-severity vulnerability in Compression And Archive Extensions Project Zip, classified under Path Traversal. CVSS score: 7.5/10. Published 2020-06-23.
How severe is CVE-2020-7664?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2020-7664 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.