{"api_version":"1","generated_at":"2026-04-23T01:18:33+00:00","cve":"CVE-2016-3697","urls":{"html":"https://cve.report/CVE-2016-3697","api":"https://cve.report/api/cve/CVE-2016-3697.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-3697","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-3697"},"summary":{"title":"CVE-2016-3697","description":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2016-06-01 20:59:00","updated_at":"2021-01-05 17:38:00"},"problem_types":["CWE-264"],"metrics":[],"references":[{"url":"https://github.com/docker/docker/issues/21436","name":"https://github.com/docker/docker/issues/21436","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"Numeric user id passed to --user interpreted as user name if user name is numeric in container /etc/passwd · Issue #21436 · moby/moby · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2634.html","name":"RHSA-2016:2634","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00111.html","name":"openSUSE-SU-2016:1417","refsource":"SUSE","tags":["Mailing List","Third Party Advisory"],"title":"openSUSE-SU-2016:1417-1: moderate: Security update for docker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/opencontainers/runc/commit/69af385de62ea68e2e608335cffbb0f4aa3db091","name":"https://github.com/opencontainers/runc/commit/69af385de62ea68e2e608335cffbb0f4aa3db091","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"libcontainer: user: always treat numeric ids numerically · opencontainers/runc@69af385 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/opencontainers/runc/releases/tag/v0.1.0","name":"https://github.com/opencontainers/runc/releases/tag/v0.1.0","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"Release Runc v0.1.0 · opencontainers/runc · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/opencontainers/runc/pull/708","name":"https://github.com/opencontainers/runc/pull/708","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"libcontainer: user: always treat numeric ids numerically by cyphar · Pull Request #708 · opencontainers/runc · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201612-28","name":"GLSA-201612-28","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"Docker: Privilege escalation (GLSA 201612-28) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1034.html","name":"RHSA-2016:1034","refsource":"REDHAT","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-3697","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3697","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"3697","vulnerable":"1","versionEndIncluding":"1.11.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"docker","cpe5":"docker","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"3697","vulnerable":"1","versionEndIncluding":"0.0.9","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linuxfoundation","cpe5":"runc","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"3697","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"opensuse","cpe6":"13.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"3697","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"opensuse","cpe6":"13.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2016-3697","qid":"900005","title":"CBL-Mariner Linux Security Update for moby-buildx 0.4.1"},{"cve":"CVE-2016-3697","qid":"902967","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for moby-buildx (4419)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2016-3697","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_affected":"=","version_value":"n/a"}]}}]}}]}},"references":{"reference_data":[{"url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00111.html","refsource":"MISC","name":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00111.html"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1034.html","refsource":"MISC","name":"http://rhn.redhat.com/errata/RHSA-2016-1034.html"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2634.html","refsource":"MISC","name":"http://rhn.redhat.com/errata/RHSA-2016-2634.html"},{"url":"https://github.com/docker/docker/issues/21436","refsource":"MISC","name":"https://github.com/docker/docker/issues/21436"},{"url":"https://github.com/opencontainers/runc/commit/69af385de62ea68e2e608335cffbb0f4aa3db091","refsource":"MISC","name":"https://github.com/opencontainers/runc/commit/69af385de62ea68e2e608335cffbb0f4aa3db091"},{"url":"https://github.com/opencontainers/runc/pull/708","refsource":"MISC","name":"https://github.com/opencontainers/runc/pull/708"},{"url":"https://github.com/opencontainers/runc/releases/tag/v0.1.0","refsource":"MISC","name":"https://github.com/opencontainers/runc/releases/tag/v0.1.0"},{"url":"https://security.gentoo.org/glsa/201612-28","refsource":"MISC","name":"https://security.gentoo.org/glsa/201612-28"}]}},"nvd":{"publishedDate":"2016-06-01 20:59:00","lastModifiedDate":"2021-01-05 17:38:00","problem_types":["CWE-264"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:N/A:N","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*","versionEndIncluding":"1.11.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*","versionEndIncluding":"0.0.9","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"3697","Ordinal":"89577","Title":"CVE-2016-3697","CVE":"CVE-2016-3697","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"3697","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2016","CveId":"3697","Ordinal":"2","NoteData":"2016-06-01","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"3697","Ordinal":"3","NoteData":"2017-06-30","Type":"Other","Title":"Modified"}]}}}