CVE-2020-7668

Arbitrary File Write via Archive Extraction (Zip Slip)

Published Jun 17, 2020 CVSS 3.1 · 7.5 High EPSS 1.4% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-1013 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.
Github GHSA Github GHSA GHSA-88jf-7rch-32qc github.com/unknwon/cae Path Traversal vulnerability
History

No history.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 17, 2024, 2:05 AM
Reserved
Jan 21, 2020, 12:00 AM
Status
Modified
Published
Jun 23, 2020, 7:38 PM
Modified
Jun 17, 2026, 3:25 AM