GO-2021-0106

Source
https://pkg.go.dev/vuln/GO-2021-0106
Import Source
https://vuln.go.dev/ID/GO-2021-0106.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0106
Aliases
Published
2021-07-28T18:08:05Z
Modified
2024-05-20T16:03:47Z
Summary
Path traversal in github.com/whyrusleeping/tar-utils
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-2021-0106"
}
References

Affected packages

Go / github.com/whyrusleeping/tar-utils

Package

Name
github.com/whyrusleeping/tar-utils
View open source insights on deps.dev
Purl
pkg:golang/github.com/whyrusleeping/tar-utils

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20201201191210-20a61371de5b

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/whyrusleeping/tar-utils",
            "symbols": [
                "Extractor.Extract",
                "Extractor.outputPath"
            ]
        }
    ]
}