VDB
Sign up
HIGH7.8

GHSA-q3j5-32m5-58c2

Privilege Elevation in runc

Quick fix

GHSA-q3j5-32m5-58c2 — github.com/opencontainers/runc: upgrade to the fixed version with the command below.

go get github.com/opencontainers/runc@v0.1.0

Details

libcontainer/user/user.go in runC before 0.1.0, as used in Docker before 1.11.2, improperly treats a numeric UID as a potential username, which allows local users to gain privileges via a numeric username in the password file in a container.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/opencontainers/runc
Introduced in: 0Fixed in: 0.1.0
Fixgo get github.com/opencontainers/runc@v0.1.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/opencontainers/runc"]}'