GO-2020-0042

Source
https://pkg.go.dev/vuln/GO-2020-0042
Import Source
https://vuln.go.dev/ID/GO-2020-0042.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2020-0042
Aliases
Published
2021-04-14T20:04:52Z
Modified
2025-01-08T07:43:31.325549Z
Summary
Arbitrary File Write via Archive Extraction (Zip Slip) in github.com/sassoftware/go-rpmutils
Details

Due to improper path sanitization, RPMs 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-0042"
}
References

Affected packages

Go / github.com/sassoftware/go-rpmutils

Package

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

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/sassoftware/go-rpmutils/cpio",
            "symbols": [
                "Extract"
            ]
        }
    ]
}