VDB
Sign up
—

GO-2020-0025

Path traversal in code.cloudfoundry.org/archiver

Quick fix

GO-2020-0025 — code.cloudfoundry.org/archiver: upgrade to the fixed version with the command below.

go get code.cloudfoundry.org/archiver@v0.0.0-20180523222229-09b5706aa936

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/code.cloudfoundry.org/archiver
Introduced in: 0Fixed in: 0.0.0-20180523222229-09b5706aa936
Fixgo get code.cloudfoundry.org/archiver@v0.0.0-20180523222229-09b5706aa936

References