7.8high

CVE-2016-3697

Privilege Elevation in runc

Also known as GHSA-q3j5-32m5-58c2, GO-2021-0070

Published 10 y ago · modified 58 d ago · JSON

CVSS
7.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
0.4%
percentile 33%
Public exploits
0
none known

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.

Exploit prediction (EPSS)

0.39% probability of exploitation in the next 30 days, higher than 33% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.17.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.02.1AV:L/AC:L/Au:N/C:P/I:N/A:N
GitHub3.17.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/opencontainers/runc
<0.1.0
0.1.0

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls
  • CWE-269 Improper Privilege Management
Technology feeds
Docker (RSS, critical only)

References

  • rhn.redhat.com /errata/RHSA-2016-1034.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • github.com /opencontainers/runc/releases/tag/v0.1.0 · x_refsource_CONFIRM, x_transferred
  • lists.opensuse.org /opensuse-updates/2016-05/msg00111.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • github.com /docker/docker/issues/21436 · x_refsource_CONFIRM, x_transferred
  • github.com /opencontainers/runc/pull/708 · x_refsource_CONFIRM, x_transferred
  • rhn.redhat.com /errata/RHSA-2016-2634.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • github.com /opencontainers/runc/commit/69af385de62ea68e2e608335cffbb0f4aa3db091 · x_refsource_CONFIRM, x_transferred
  • security.gentoo.org /glsa/201612-28 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-3697 · advisory
  • github.com /opencontainers/runc · package
  • lists.opensuse.org /opensuse-updates/2016-05/msg00111.html · web
  • pkg.go.dev /vuln/GO-2021-0070 · web
  • rhn.redhat.com /errata/RHSA-2016-1034.html · web
  • rhn.redhat.com /errata/RHSA-2016-2634.html · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.