Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/opencontainers/runc
  4. ›
  5. CVE-2016-3697

CVE-2016-3697: Privilege Elevation in runc

December 20, 2021

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.

References

  • github.com/advisories/GHSA-q3j5-32m5-58c2
  • github.com/docker/docker/issues/21436
  • github.com/opencontainers/runc/commit/69af385de62ea68e2e608335cffbb0f4aa3db091
  • github.com/opencontainers/runc/pull/708
  • github.com/opencontainers/runc/releases/tag/v0.1.0
  • lists.opensuse.org/opensuse-updates/2016-05/msg00111.html
  • nvd.nist.gov/vuln/detail/CVE-2016-3697
  • rhn.redhat.com/errata/RHSA-2016-1034.html
  • rhn.redhat.com/errata/RHSA-2016-2634.html
  • security.gentoo.org/glsa/201612-28

Code Behaviors & Features

Detect and mitigate CVE-2016-3697 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.1.0

Fixed versions

  • 0.1.0

Solution

Upgrade to version 0.1.0 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-264

Source file

go/github.com/opencontainers/runc/CVE-2016-3697.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:49 +0000.