title: Path traversal in github.com/yi-ge/unzip
description: Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
problem types: CWE 29: Path Traversal: "\..\filename"
affected:
{
vendor: github.com/yi-ge/unzip
product: github.com/yi-ge/unzip
collectionURL: https://pkg.go.dev
packageName: github.com/yi-ge/unzip
versions:
version: 0, lessThan: 1.0.3-0.20200308084313-2adbaa4891b9, status: affected, versionType: semver
programRoutines:
name: Unzip.Extract
defaultStatus: unaffected
}