GO-2020-0026

See a problem?
Source
https://pkg.go.dev/vuln/GO-2020-0026
Import Source
https://vuln.go.dev/ID/GO-2020-0026.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2020-0026
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
Arbitrary file write via archive extraction in github.com/openshift/source-to-image
Details

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

References

Affected packages

Go / github.com/openshift/source-to-image

Package

Name
github.com/openshift/source-to-image
View open source insights on deps.dev
Purl
pkg:golang/github.com/openshift/source-to-image

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.10-0.20180427153919-f5cbcbc5cc6f

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/openshift/source-to-image/pkg/tar",
            "symbols": [
                "New",
                "stiTar.ExtractTarStream",
                "stiTar.ExtractTarStreamFromTarReader",
                "stiTar.ExtractTarStreamWithLogging",
                "stiTar.extractLink"
            ]
        }
    ]
}