GO-2022-0346

Source
https://pkg.go.dev/vuln/GO-2022-0346
Import Source
https://vuln.go.dev/ID/GO-2022-0346.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0346
Aliases
Published
2022-07-15T23:30:27Z
Modified
2024-05-20T16:03:47Z
Summary
Path traversal in github.com/quay/claircore
Details

A maliciously crafted RPM file can cause the Scanner.Scan function to write files with arbitrary contents to arbitrary locations on the local filestem.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0346"
}
References

Affected packages

Go / github.com/quay/claircore

Package

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

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "Scanner.Scan"
            ],
            "path": "github.com/quay/claircore/rpm"
        }
    ]
}