LiveActive security incident?Get immediate response
CVE Record

CVE-2020-7668: Arbitrary File Write via Archive Extraction (Zip Slip)

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This flaw lets a malicious zip archive write files outside the intended extraction folder when processed by github.com/unknwon/cae/tz ExtractTo. Business impact is integrity-focused: attacker-controlled file overwrite could alter application files, configuration, or other writable paths, depending on privileges.

Executive priority

Treat as high priority where the package handles customer, partner, or internet-sourced archives. If the library is unused or only processes trusted internal archives, urgency is lower but still merits remediation planning.

Technical view

CVE-2020-7668 is a Zip Slip-style path traversal issue in github.com/unknwon/cae/tz. ExtractTo does not safely neutralize leading or embedded ".." path components in zip entries, allowing arbitrary file write or replacement when hostile archives are extracted.

Likely exposure

Exposure is limited to Go applications that import github.com/unknwon/cae/tz and use ExtractTo on zip archives from untrusted or compromiseable sources.

Exploitation context

The CVE is not listed as KEV in the provided bundle. The CVSS vector indicates network-reachable, low-complexity, unauthenticated exploitation with no user interaction, but only proof-of-concept exploit maturity is cited.

Researcher notes

The provided sources do not identify a CWE, patch version, or active exploitation. Validation should focus on dependency presence, actual ExtractTo reachability, archive trust boundaries, and the filesystem privileges of the extracting process.

Mitigation direction

  • Inventory all uses of github.com/unknwon/cae/tz in Go projects.
  • Avoid ExtractTo for untrusted zip files until vendor guidance is confirmed.
  • Check CVE and Snyk references for fixed versions or maintainer recommendations.
  • Restrict extraction runtime permissions to limit writable paths.
  • Consider replacing the extraction component if no maintained fix exists.

Validation and detection

  • Search dependency manifests for github.com/unknwon/cae/tz.
  • Review code paths that call ExtractTo.
  • Confirm whether extracted archives can be attacker supplied.
  • Verify extraction runs with least filesystem privilege.
  • Check deployments for unexpected file writes near extraction workflows.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2020-7668 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: 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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P/RL:U/RC:C3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2020-7668Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: 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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/agithub.com/unknwon/cae/tz0Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.