CVE-2016-9962: Github.com/opencontainers/runc Information Exposure Vulnerability
MODERATECVE-2016-9962 is a MODERATE (CVSS 6.4) information exposure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Github.com/opencontainers/runc libraries in the Go ecosystem. The issue involves information exposure in runc. Remediation is available by upgrading affected packages to version 1.0.0-rc3.
CVE-2016-9962 at a Glance
Security Impact
CVSS: 6.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2016-9962
To remediate this vulnerability, upgrade all affected Github.com/opencontainers/runc dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/opencontainers/runc to 1.0.0-rc3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/opencontainers/runc
How to Check if You Are Affected
To determine whether your application is affected by CVE-2016-9962, inspect your project dependencies for Github.com/opencontainers/runc:
inspect dependencies for github.com/opencontainers/runc
Analyze the terminal output to locate any version of Github.com/opencontainers/runc in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0-rc3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Github.com/opencontainers/runc, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2016-9962 Affected Github.com/opencontainers/runc Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/opencontainers/runc
|
Go |
< 1.0.0-rc3
|
1.0.0-rc3
|
References
Frequently Asked Questions
What is CVE-2016-9962?
Which Github.com/opencontainers/runc versions are affected?
What version fixes CVE-2016-9962?
Is github.com/opencontainers/runc affected?
What is the CVSS score of CVE-2016-9962?
What CWE is associated with CVE-2016-9962?
How can I check Go dependencies for CVE-2016-9962?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gp4j-w3vj-7299",
"modified" : "2021-05-20T16:22:33Z",
"published" : "2021-12-20T18:21:43Z",
"aliases" : [ "CVE-2016-9962" ],
"summary" : "Information Exposure in RunC",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/opencontainers/runc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.0-rc3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.0.0-rc2"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-9962"
}, {
"type" : "WEB",
"url" : "https://github.com/opencontainers/runc/commit/50a19c6ff828c58e5dab13830bd3dacde268afe5"
}, {
"type" : "WEB",
"url" : "https://github.com/opencontainers/runc/commit/5d93fed3d27f1e2bab58bad13b180a7a81d0b378"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/vulnerabilities/cve-2016-9962"
}, {
"type" : "WEB",
"url" : "https://bugzilla.suse.com/show_bug.cgi?id=1012568#c6"
}, {
"type" : "WEB",
"url" : "https://github.com/docker/docker/releases/tag/v1.12.6"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BQAXJMMLRU7DD2IMG47SR2K4BOFFG7FZ"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FINGBFMIXBG6B6ZWYH3TMRP5V3PDBNXR"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVM7FCOQMPKOFLDTUYSS4ES76DDM56VP"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WUQ3MQNEL5IBZZLMLR72Q4YDCL2SCKRK"
}, {
"type" : "WEB",
"url" : "https://security.gentoo.org/glsa/201701-34"
}, {
"type" : "WEB",
"url" : "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9962"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2017-0116.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2017-0123.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2017-0127.html"
}, {
"type" : "WEB",
"url" : "http://seclists.org/fulldisclosure/2017/Jan/21"
}, {
"type" : "WEB",
"url" : "http://seclists.org/fulldisclosure/2017/Jan/29"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/archive/1/540001/100/0/threaded"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/95361"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-20T16:22:33Z",
"nvd_published_at" : null
}
}