CVE-2016-9962
docker: insecure opening of file-descriptor allows privilege escalation
Overview
Description
RunC allowed additional container processes via 'runc exec' to be ptraced by the pid 1 of the container. This allows the main processes of the container, if running as root, to gain access to file-descriptors of these new processes during the initialization and can lead to container escapes or modification of runC state before the process is fully placed inside the container.
Source: OX vulnerability database
Severity
6.4 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-362
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | github.com/opencontainers/runc | <1.0.0-rc3 | 1.0.0-rc3 |
Open a package to see all its vulnerabilities.
Operating systems · 32 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | docker-engine +1 | 1.12.6-1.0.1.el7 |
Red Hat 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | runc | 0:1.0.0-1.rc2.el7 | RHSA-2017:0127 |
| 7 | docker-client-latest +3 | 0:1.12.5-14.el7 | RHSA-2017:0123 |
| 7 | container-selinux +8 | 2:1.12.5-14.el7 | RHSA-2017:0116 |
SUSE Linux Enterprise 5 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | docker-stable +1 | 24.0.9_ce-1.20.1 | SUSE-SU-2025:03540-1 |
| 15.4 | docker-stable +1 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| 15.5 | docker-stable +1 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| 15.6 | docker-stable +2 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| 15.7 | docker-stable +2 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | runc | 0.1.1+dfsg1-2 |
| 11 | docker-io | 1.13.1~ds1-2 |
| 12 | runc | 0.1.1+dfsg1-2 |
| 12 | docker-io | 1.13.1~ds1-2 |
| 13 | runc | 0.1.1+dfsg1-2 |
| 13 | docker-io | 1.13.1~ds1-2 |
2 more rows
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| runc | 0.1.1+dfsg1-2 | |
| docker-io | 1.13.1~ds1-2 |
openSUSE 1 release · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | govulncheck-vulndb | 0.0.20250807T150727-1.1 | openSUSE-SU-2025:15424-1 |
| Tumbleweed | docker-stable-buildx | 0.25.0-15.1 | openSUSE-SU-2025:15589-1 |
| Tumbleweed | runc | 1.0.2-1.2 | openSUSE-SU-2024:11358-1 |
| Tumbleweed | containerd +1 | 1.4.8-2.2 | openSUSE-SU-2024:10693-1 |
| Tumbleweed | docker +3 | 20.10.6_ce-2.1 | openSUSE-SU-2024:10722-1 |
| Tumbleweed | docker-stable +4 | 24.0.9_ce-15.1 | openSUSE-SU-2025:15589-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-docker-io | 1.13.1~ds1-2 |
ubuntu 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | runc | 1.0.0~rc2+docker1.13.1-0ubuntu1 |
| 18.04 | docker-io | 1.13.1-0ubuntu4 |
| 18.04-ESM | runc | 1.0.0~rc2+docker1.13.1-0ubuntu1 |
| 18.04-ESM | docker-io | 1.13.1-0ubuntu4 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| runc | not affected |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| runc | not affected |
References
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2017-0116.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2017-0123.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2017-0127.html
- seclists.org http://seclists.org/fulldisclosure/2017/Jan/21
- seclists.org http://seclists.org/fulldisclosure/2017/Jan/29
- www.securityfocus.com http://www.securityfocus.com/archive/1/540001/100/0/threaded
- www.securityfocus.com http://www.securityfocus.com/bid/95361
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-9962
- access.redhat.com https://access.redhat.com/security/vulnerabilities/cve-2016-9962
- bugzilla.suse.com https://bugzilla.suse.com/show_bug.cgi?id=1012568#c6
Show all 28 references
- github.com https://github.com/docker/docker/compare/v1.12.5...v1.12.6
- github.com https://github.com/docker/docker/releases/tag/v1.12.6
- github.com https://github.com/opencontainers/runc/commit/50a19c6ff828c58e5dab13830bd3dacde268afe5
- github.com https://github.com/opencontainers/runc/commit/5d93fed3d27f1e2bab58bad13b180a7a81d0b378
- linux.oracle.com https://linux.oracle.com/cve/CVE-2016-9962.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2017-3511.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BQAXJMMLRU7DD2IMG47SR2K4BOFFG7FZ/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FINGBFMIXBG6B6ZWYH3TMRP5V3PDBNXR/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UVM7FCOQMPKOFLDTUYSS4ES76DDM56VP/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WUQ3MQNEL5IBZZLMLR72Q4YDCL2SCKRK/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BQAXJMMLRU7DD2IMG47SR2K4BOFFG7FZ
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FINGBFMIXBG6B6ZWYH3TMRP5V3PDBNXR
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVM7FCOQMPKOFLDTUYSS4ES76DDM56VP
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WUQ3MQNEL5IBZZLMLR72Q4YDCL2SCKRK
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-9962
- security.gentoo.org https://security.gentoo.org/glsa/201701-34
- web.nvd.nist.gov https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9962
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-9962
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.