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.

INFO

Published Date :

Jan. 31, 2017, 10:59 p.m.

Last Modified :

Nov. 7, 2023, 2:37 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

0.5
Public PoC/Exploit Available at Github

CVE-2016-9962 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-9962 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Docker docker
1 Linuxfoundation runc
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-9962.

URL Resource
http://rhn.redhat.com/errata/RHSA-2017-0116.html
http://rhn.redhat.com/errata/RHSA-2017-0123.html
http://rhn.redhat.com/errata/RHSA-2017-0127.html
http://seclists.org/fulldisclosure/2017/Jan/21 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2017/Jan/29 Mailing List Third Party Advisory
http://www.securityfocus.com/archive/1/540001/100/0/threaded
http://www.securityfocus.com/bid/95361 Third Party Advisory VDB Entry
https://access.redhat.com/security/vulnerabilities/cve-2016-9962 Third Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1012568#c6 Issue Tracking
https://github.com/docker/docker/releases/tag/v1.12.6 Vendor Advisory
https://github.com/opencontainers/runc/commit/50a19c6ff828c58e5dab13830bd3dacde268afe5 Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BQAXJMMLRU7DD2IMG47SR2K4BOFFG7FZ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FINGBFMIXBG6B6ZWYH3TMRP5V3PDBNXR/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UVM7FCOQMPKOFLDTUYSS4ES76DDM56VP/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WUQ3MQNEL5IBZZLMLR72Q4YDCL2SCKRK/
https://security.gentoo.org/glsa/201701-34 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

整理容器逃逸相关的漏洞和exploits.

Makefile C Python Dockerfile Shell Go

Updated: 2 months, 1 week ago
7 stars 0 fork 0 watcher
Born at : March 20, 2024, 10:19 a.m. This repo has been linked 27 different CVEs too.

⚙ DevSecOps Kubernetes Playground ("A Hacker's Guide to Kubernetes")

Dockerfile Shell Ruby Smarty Jinja HCL

Updated: 1 month ago
14 stars 2 fork 2 watcher
Born at : July 1, 2022, 7:12 a.m. This repo has been linked 57 different CVEs too.

《云原生安全:攻防实践与体系构建》资料仓库

Dockerfile C Shell Makefile Assembly Go Python

Updated: 1 week, 4 days ago
718 stars 123 fork 123 watcher
Born at : Sept. 25, 2021, 1:56 p.m. This repo has been linked 12 different CVEs too.

WorldFirst (Public) Docker API Exploit - My security researches involving Docker and Openshift

docker security-flaws privilage-escalation docker-api docker-vulnerabilities linux-privilege-escalation openshift openshift-vulnerabilities

Shell Lua

Updated: 6 months, 3 weeks ago
33 stars 3 fork 3 watcher
Born at : Nov. 17, 2017, 5:56 p.m. This repo has been linked 3 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-9962 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-9962 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WUQ3MQNEL5IBZZLMLR72Q4YDCL2SCKRK/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FINGBFMIXBG6B6ZWYH3TMRP5V3PDBNXR/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BQAXJMMLRU7DD2IMG47SR2K4BOFFG7FZ/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UVM7FCOQMPKOFLDTUYSS4ES76DDM56VP/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/WUQ3MQNEL5IBZZLMLR72Q4YDCL2SCKRK/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/UVM7FCOQMPKOFLDTUYSS4ES76DDM56VP/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/FINGBFMIXBG6B6ZWYH3TMRP5V3PDBNXR/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/BQAXJMMLRU7DD2IMG47SR2K4BOFFG7FZ/
  • CVE Modified by [email protected]

    Oct. 09, 2018

    Action Type Old Value New Value
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/540001/100/0/threaded [Third Party Advisory, VDB Entry]
    Added Reference http://www.securityfocus.com/archive/1/540001/100/0/threaded [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference http://rhn.redhat.com/errata/RHSA-2017-0127.html [No Types Assigned]
    Added Reference http://rhn.redhat.com/errata/RHSA-2017-0123.html [No Types Assigned]
    Added Reference http://rhn.redhat.com/errata/RHSA-2017-0116.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Dec. 08, 2017

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:* versions up to (including) 1.12.5 OR *cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:* versions from (including) 1.11.0 up to (excluding) 1.12.6
  • CVE Modified by [email protected]

    Apr. 12, 2017

    Action Type Old Value New Value
    Changed Description Race condition in Docker Engine before 1.12.6 might allow local root users in a container to gain privileges by using ptrace to access file-descriptors of a process launched or moved into the container from another namespace, aka an "on-entry vulnerability." 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.
  • Initial Analysis by [email protected]

    Mar. 02, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/WUQ3MQNEL5IBZZLMLR72Q4YDCL2SCKRK/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/WUQ3MQNEL5IBZZLMLR72Q4YDCL2SCKRK/ Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/archive/1/archive/1/540001/100/0/threaded No Types Assigned http://www.securityfocus.com/archive/1/archive/1/540001/100/0/threaded Third Party Advisory, VDB Entry
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/BQAXJMMLRU7DD2IMG47SR2K4BOFFG7FZ/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/BQAXJMMLRU7DD2IMG47SR2K4BOFFG7FZ/ Third Party Advisory
    Changed Reference Type https://bugzilla.suse.com/show_bug.cgi?id=1012568#c6 No Types Assigned https://bugzilla.suse.com/show_bug.cgi?id=1012568#c6 Issue Tracking
    Changed Reference Type http://seclists.org/fulldisclosure/2017/Jan/21 No Types Assigned http://seclists.org/fulldisclosure/2017/Jan/21 Third Party Advisory, Mailing List
    Changed Reference Type http://seclists.org/fulldisclosure/2017/Jan/29 No Types Assigned http://seclists.org/fulldisclosure/2017/Jan/29 Third Party Advisory, Mailing List
    Changed Reference Type http://www.securityfocus.com/bid/95361 No Types Assigned http://www.securityfocus.com/bid/95361 Third Party Advisory, VDB Entry
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/UVM7FCOQMPKOFLDTUYSS4ES76DDM56VP/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/UVM7FCOQMPKOFLDTUYSS4ES76DDM56VP/ Third Party Advisory
    Changed Reference Type https://github.com/docker/docker/releases/tag/v1.12.6 No Types Assigned https://github.com/docker/docker/releases/tag/v1.12.6 Vendor Advisory
    Changed Reference Type https://access.redhat.com/security/vulnerabilities/cve-2016-9962 No Types Assigned https://access.redhat.com/security/vulnerabilities/cve-2016-9962 Third Party Advisory
    Changed Reference Type https://github.com/opencontainers/runc/commit/50a19c6ff828c58e5dab13830bd3dacde268afe5 No Types Assigned https://github.com/opencontainers/runc/commit/50a19c6ff828c58e5dab13830bd3dacde268afe5 Third Party Advisory, Patch
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/FINGBFMIXBG6B6ZWYH3TMRP5V3PDBNXR/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/FINGBFMIXBG6B6ZWYH3TMRP5V3PDBNXR/ Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/201701-34 No Types Assigned https://security.gentoo.org/glsa/201701-34 Third Party Advisory
    Added CWE CWE-362
    Added CPE Configuration OR *cpe:2.3:a:docker:docker:1.12.5:*:*:*:*:*:*:* (and previous)
  • CVE Modified by [email protected]

    Feb. 02, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/95361 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-9962 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-9962 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.06 }} 0.00%

score

0.26594

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability