title: Path traversal in code.cloudfoundry.org/archiver
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: code.cloudfoundry.org/archiver
product: code.cloudfoundry.org/archiver/extractor
collectionURL: https://pkg.go.dev
packageName: code.cloudfoundry.org/archiver/extractor
versions:
version: 0, lessThan: 0.0.0-20180523222229-09b5706aa936, status: affected, versionType: semver
programRoutines:
name: extractTarArchiveFile
name: extractZipArchiveFile
name: detectableExtractor.Extract
name: tarExtractor.Extract
name: tgzExtractor.Extract
name: zipExtractor.Extract
defaultStatus: unaffected
}