{"id":"CVE-2016-3697","published":"2016-06-01T20:00:00Z","modified":"2024-08-06T00:03:34Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00404,"percentile":0.35496,"provenance":"source"},"cwes":[],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2016-1034.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/opencontainers/runc/releases/tag/v0.1.0","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00111.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://github.com/docker/docker/issues/21436","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/opencontainers/runc/pull/708","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2634.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/opencontainers/runc/commit/69af385de62ea68e2e608335cffbb0f4aa3db091","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201612-28","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":7.1}]},"affected":[{"ecosystem":"Go","package":"github.com/opencontainers/runc","vulnerableRanges":["<0.1.0"],"patched":["0.1.0"],"from":["GHSA-q3j5-32m5-58c2","GO-2021-0070"],"provenance":"source"}],"summary":{"text":"The flaw lies in libcontainer/user/user.go in runC (before 0.1.0), as used in Docker (before 1.11.2), where a numeric UID is improperly treated as a possible username. Local users who can place a numeric username in the password file inside a container can gain privileges, provided they have local access and can influence the container's user database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:25Z"},"euvd":{"id":"EUVD-2021-2563","exploited":false,"provenance":"source"},"lineage":{"children":[{"from":"CVE-2016-3697","to":"CVE-2018-9862","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…me, which allows attackers to obtain root access by leveraging the presence of an initial numeric value on an /etc/passwd line, and then issuing a \"docker exec\" command with that value in the -u argument, a similar issue to CVE-2016-3697.","from":"CVE.org","in":"CVE-2018-9862"}]}]}}