Live threats

All CVEs / Compression And Archive Extensions Project

CVE-2020-7664Compression And Archive Extensions Project Compression And Archive Extensions Zip Project

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
Jun 23, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Compression And Archive Extensions Zip Project.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/unknwon/cae < 1.0.1 1.0.1 go get github.com/unknwon/cae@v1.0.1
Go github.com/unknwon/cae < 1.0.1 1.0.1 go get github.com/unknwon/cae@v1.0.1

Per OSV / GitHub Advisories (GHSA-vpx7-vm66-qx8r, GO-2021-0228). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
compression_and_archive_extensions_projectcompression_and_archive_extensions_zip_projectall

Official sources

References

Links published by the sources. Open them with care.

  • snyk.io Exploit Third Party Advisory