Skip to content
OpenAdvisories
Critical · 9.1 CVE-2020-36560 EUVD-2022-7737GHSA-rmj9-q58g-9qggGO-2020-0034

Path traversal in github.com/artdarek/go-unzip

Published Dec 27, 2022 · Updated Apr 11, 2025 · Assigned by Go

Description

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Affected products

VendorProductAffectedFixed
github.com/artdarek/go-unzip github.com/artdarek/go-unzip < 1.0.0 1.0.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/artdarek/go-unzip < 2.0.0 2.0.0 GHSA-rmj9-q58g-9qgg
Go github.com/artdarek/go-unzip < 1.0.0 1.0.0 GO-2020-0034

References