GO-2021-0099

Source
https://pkg.go.dev/vuln/GO-2021-0099
Import Source
https://vuln.go.dev/ID/GO-2021-0099.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0099
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
Zip slip directory exploit in github.com/deislabs/oras
Details

Due to improper path validation, using the github.com/deislabs/oras/pkg/content.FileStore content store may result in directory traversal during archive extraction, allowing a malicious archive to write paths to arbitrary paths that the process can write to.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2021-0099"
}
References
Credits
    • Chris Smowton

Affected packages

Go / github.com/deislabs/oras

Package

Name
github.com/deislabs/oras
View open source insights on deps.dev
Purl
pkg:golang/github.com/deislabs/oras

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/deislabs/oras/pkg/content",
            "symbols": [
                "extractTarDirectory",
                "fileWriter.Commit"
            ]
        }
    ]
}