title: Path traversal in github.com/whyrusleeping/tar-utils
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 22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
affected:
{
vendor: github.com/whyrusleeping/tar-utils
product: github.com/whyrusleeping/tar-utils
collectionURL: https://pkg.go.dev
packageName: github.com/whyrusleeping/tar-utils
versions:
version: 0, lessThan: 0.0.0-20201201191210-20a61371de5b, status: affected, versionType: semver
programRoutines:
name: Extractor.outputPath
name: Extractor.Extract
defaultStatus: unaffected
}