Skip to content
OpenAdvisories
Critical · 9.1 CVE-2020-36561 EUVD-2022-7611GHSA-f5c5-hmw9-v8hxGO-2020-0035

Path traversal in github.com/yi-ge/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/yi-ge/unzip github.com/yi-ge/unzip < 1.0.3-0.20200308084313-2adbaa4891b9 1.0.3-0.20200308084313-2adbaa4891b9

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/yi-ge/unzip < 1.0.3-0.20200308084313-2adbaa4891b9 1.0.3-0.20200308084313-2adbaa4891b9 GHSA-f5c5-hmw9-v8hx

References