GO-2020-0034

Source
https://pkg.go.dev/vuln/GO-2020-0034
Import Source
https://vuln.go.dev/ID/GO-2020-0034.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2020-0034
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
Path traversal in github.com/artdarek/go-unzip
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
{
    "url": "https://pkg.go.dev/vuln/GO-2020-0034",
    "review_status": "REVIEWED"
}
References

Affected packages

Go / github.com/artdarek/go-unzip

Package

Name
github.com/artdarek/go-unzip
View open source insights on deps.dev
Purl
pkg:golang/github.com/artdarek/go-unzip

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.0

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/artdarek/go-unzip",
            "symbols": [
                "Unzip.Extract"
            ]
        }
    ]
}