VDB

CVE-2020-7668

CVE-2020-7668 PUBLISHED CVSS 7.5 HIGH

Arbitrary File Write via Archive Extraction (Zip Slip)

Reported by snyk · Published June 17, 2020

github.com/unknwon/cae/tz is fixed in 1.0.1 (Go Modules)

In all versions of the package github.com/unknwon/cae/tz, 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/unknwon/cae/tzGo Modules1.0.1
github.com/unknwon/caeGo Modulesv1.0.1, 1.0.1
github.com/unknwon/cae/tzn/aunspecified

Risk scores

CVSS 3.1
7.5
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

Affected products

VendorProductVersions
n/agithub.com/unknwon/cae/tz0
n/agithub.com/unknwon/cae/tz0
github.comunknwon/cae/tz0
github.comunknwon/cae0

Timeline

  • Jun 17, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 16, 2023 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Aug 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-7668
vulnetix vdb fixes CVE-2020-7668

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-7668/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›