Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-3697

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-3697
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:24 UTC · Revision 1

Source evidence

CVE-2016-3697

core-osv · Original source

Published 1 Jun 2016, 20:59 UTC

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.

osv:CVE-2016-3697
Complete source record
{
  "id": "68f106b11746e70b98b98d688d1c0eacda6887769e61a3b9c4b22c1f69277b05",
  "url": "https://osv.dev/vulnerability/CVE-2016-3697",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-3697",
    "summary": "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.",
    "evidence": "osv:CVE-2016-3697",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2016-3697",
      "aliases": [
        "CVE-2016-3697",
        "GHSA-q3j5-32m5-58c2",
        "GO-2021-0070"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/docker-archive/engine",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "5604cbed50d51c4039b1abcb1cf87c4e01bce924"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.11.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.11.1",
            "v1.11.0",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.5",
            "v0.5.0",
            "v0.4.7",
            "v0.4.5",
            "v0.4.4",
            "v0.4.2",
            "v0.4.1",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.8",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0",
            "upstream/0.1.3",
            "0.0.3",
            "upstream/0.1.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-3697.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/moby/moby",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "5604cbed50d51c4039b1abcb1cf87c4e01bce924"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.11.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.11.1",
            "v1.11.0",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.5",
            "v0.5.0",
            "v0.4.7",
            "v0.4.5",
            "v0.4.4",
            "v0.4.2",
            "v0.4.1",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.8",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0",
            "upstream/0.1.3",
            "0.0.3",
            "upstream/0.1.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-3697.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/opencontainers/runc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "94dc520a5732126985fec249f80c91b9e0601815"
                },
                {
                  "fixed": "69af385de62ea68e2e608335cffbb0f4aa3db091"
                },
                {
                  "fixed": "8e129e097220b2591edd59957c4ff08e064e14b9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.0.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "69af385de62ea68e2e608335cffbb0f4aa3db091"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8e129e097220b2591edd59957c4ff08e064e14b9"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.1.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.0.9",
            "v0.0.8",
            "v0.0.7",
            "v0.0.6",
            "v0.0.5",
            "v0.0.4",
            "v0.0.2",
            "v0.0.3",
            "v0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-3697.json"
          }
        }
      ],
      "modified": "2026-10-24T10:46:08.461632799Z",
      "provider": "osv",
      "references": [
        "https://github.com/opencontainers/runc/commit/69af385de62ea68e2e608335cffbb0f4aa3db091",
        "https://github.com/opencontainers/runc/pull/708",
        "https://security.gentoo.org/glsa/201612-28",
        "https://github.com/docker/docker/issues/21436",
        "https://github.com/opencontainers/runc/releases/tag/v0.1.0"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "docker:docker",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "1.11.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:opensuse",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "13.2"
                  },
                  {
                    "last_affected": "13.2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2016-3697",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441156,
  "published_at": "2016-06-01T20:59:06.137+00:00"
}