GO-2020-0025

Source
https://pkg.go.dev/vuln/GO-2020-0025
Import Source
https://vuln.go.dev/ID/GO-2020-0025.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2020-0025
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
Path traversal in code.cloudfoundry.org/archiver
Details

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

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2020-0025"
}
References

Affected packages

Go / code.cloudfoundry.org/archiver

Package

Name
code.cloudfoundry.org/archiver
View open source insights on deps.dev
Purl
pkg:golang/code.cloudfoundry.org/archiver

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20180523222229-09b5706aa936

Ecosystem specific

{
    "imports": [
        {
            "path": "code.cloudfoundry.org/archiver/extractor",
            "symbols": [
                "detectableExtractor.Extract",
                "extractTarArchiveFile",
                "extractZipArchiveFile",
                "tarExtractor.Extract",
                "tgzExtractor.Extract",
                "zipExtractor.Extract"
            ]
        }
    ]
}