ADVISORIES

Go Vulnerability Database

GO-2021-0070

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/opencontainers/runc
All versions before 0.1.0 (fixed in 0.1.0)

References