Skip to content
OpenAdvisories
High · 7.5 CVE-2020-7668 EUVD-2021-1013GHSA-88jf-7rch-32qcGO-2020-0041

Arbitrary File Write via Archive Extraction (Zip Slip)

Published Jun 17, 2020 · Updated Sep 17, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— github.com/unknwon/cae/tz < unspecified unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS golang-github-unknwon-cae No fix yet —
Ubuntu 18.04 LTS golang-github-unknwon-cae No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/unknwon/cae < 1.0.1 1.0.1 GHSA-88jf-7rch-32qc

References