GO-2021-0070

Source
https://pkg.go.dev/vuln/GO-2021-0070
Import Source
https://vuln.go.dev/ID/GO-2021-0070.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0070
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
Privilege escalation in github.com/opencontainers/runc
Details

GetExecUser in the github.com/opencontainers/runc/libcontainer/user package will improperly interpret numeric UIDs as usernames. If the method is used without verifying that usernames are formatted as expected, it may allow a user to gain unexpected privileges.

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

Affected packages

Go / github.com/opencontainers/runc

Package

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

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/opencontainers/runc/libcontainer/user",
            "symbols": [
                "GetExecUser",
                "GetExecUserPath"
            ]
        }
    ]
}