GO-2022-0558

Source
https://pkg.go.dev/vuln/GO-2022-0558
Import Source
https://vuln.go.dev/ID/GO-2022-0558.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0558
Aliases
Published
2022-08-22T18:07:59Z
Modified
2024-05-20T16:03:47Z
Summary
Privilege escalation in github.com/containers/psgo
Details

The psgo package executes the 'nsenter' binary, potentially allowing privilege escalation when used in environments where nsenter is provided by an untrusted source.

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

Affected packages

Go / github.com/containers/psgo

Package

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

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/containers/psgo",
            "symbols": [
                "JoinNamespaceAndProcessInfo",
                "JoinNamespaceAndProcessInfoByPids",
                "JoinNamespaceAndProcessInfoByPidsWithOptions",
                "JoinNamespaceAndProcessInfoWithOptions",
                "ProcessInfo",
                "ProcessInfoByPids",
                "contextFromOptions"
            ]
        },
        {
            "path": "github.com/containers/psgo/internal/proc",
            "symbols": [
                "ParseStatus",
                "readStatusUserNS"
            ]
        }
    ]
}