{"answers":{"affected":"3 open source packages ship an affected version, including github.com/opencontainers/runc. It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-9962 in the wild and no public exploit code.","fix":"Upgrade github.com/opencontainers/runc to 1.0.0-rc3 or later.","what":"CVE-2016-9962 is a medium-severity vulnerability in n/a, published on 31 Jan 2017. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-9962 and fix it if it is affected.\n\nWhat it is: CVE-2016-9962 is a medium-severity vulnerability in n/a, published on 31 Jan 2017. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-9962 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/opencontainers/runc (Go): affected all versions; fixed in 1.0.0-rc3\n- github.com/opencontainers/runc (Go): affected all versions; fixed in 1.0.0-rc3\n- github.com/opencontainers/runc (Go): affected all versions; fixed in 1.0.0-rc3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2016-9962/ (Markdown: https://insights.sbomify.com/CVE-2016-9962/index.md)","id":"CVE-2016-9962","markdown":"https://insights.sbomify.com/CVE-2016-9962/index.md","name":"CVE-2016-9962","record":{"aliases":["DEBIAN-CVE-2016-9962","GHSA-gp4j-w3vj-7299","GO-2022-0835","MGASA-2017-0189","RHSA-2017:0116","RHSA-2017:0123","RHSA-2017:0127","SUSE-SU-2017:1964-1","UBUNTU-CVE-2016-9962"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"runc container runtime","requires_auth":"high_privilege","summary":"Attackers can exploit a race condition in runc exec to escape containers or modify runtime state by ptracing processes during initialization.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"docker","vendor":"docker"}],"cvss":{"score":6.4,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"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.","ecosystems":["Go","Red Hat:rhel_extras_other:7","SUSE:Linux Enterprise Module for Containers 12","SUSE:OpenStack Cloud 6"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Information Exposure in RunC","id":"CVE-2016-9962","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"race_condition","year":"2016"},"n_packages":23,"n_references":16,"next":{"headline":"Information disclosure in n/a","id":"CVE-2016-9963"},"packages":[{"ecosystem":"Go","fixed":["1.0.0-rc3"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":null,"source":"GHSA-gp4j-w3vj-7299"},{"ecosystem":"Go","fixed":["1.0.0-rc3"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","source":"GHSA-gp4j-w3vj-7299"},{"ecosystem":"Go","fixed":["1.0.0-rc3"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","source":"GO-2022-0835"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"container-selinux","purl":"pkg:rpm/redhat/container-selinux","source":"RHSA-2017:0116"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"docker","purl":"pkg:rpm/redhat/docker","source":"RHSA-2017:0116"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"docker-client","purl":"pkg:rpm/redhat/docker-client","source":"RHSA-2017:0116"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"docker-client-latest","purl":"pkg:rpm/redhat/docker-client-latest","source":"RHSA-2017:0123"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"docker-common","purl":"pkg:rpm/redhat/docker-common","source":"RHSA-2017:0116"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"docker-latest","purl":"pkg:rpm/redhat/docker-latest","source":"RHSA-2017:0123"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"docker-latest-logrotate","purl":"pkg:rpm/redhat/docker-latest-logrotate","source":"RHSA-2017:0123"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"docker-latest-v1.10-migrator","purl":"pkg:rpm/redhat/docker-latest-v1.10-migrator","source":"RHSA-2017:0123"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"docker-logrotate","purl":"pkg:rpm/redhat/docker-logrotate","source":"RHSA-2017:0116"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"docker-lvm-plugin","purl":"pkg:rpm/redhat/docker-lvm-plugin","source":"RHSA-2017:0116"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"docker-novolume-plugin","purl":"pkg:rpm/redhat/docker-novolume-plugin","source":"RHSA-2017:0116"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"docker-rhel-push-plugin","purl":"pkg:rpm/redhat/docker-rhel-push-plugin","source":"RHSA-2017:0116"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.12.5-14.el7"],"introduced":["0"],"last_affected":[],"package":"docker-v1.10-migrator","purl":"pkg:rpm/redhat/docker-v1.10-migrator","source":"RHSA-2017:0116"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:1.0.0-1.rc2.el7"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/redhat/runc","source":"RHSA-2017:0127"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 12","fixed":["0.2.5+gitr569_2a5e70c-15.3"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012","source":"SUSE-SU-2017:1964-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 12","fixed":["1.12.6-87.2"],"introduced":["0"],"last_affected":[],"package":"docker","purl":"pkg:rpm/suse/docker\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012","source":"SUSE-SU-2017:1964-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 12","fixed":["0.1.1+gitr2819_50a19c6-15.2"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012","source":"SUSE-SU-2017:1964-1"},{"ecosystem":"SUSE:OpenStack Cloud 6","fixed":["0.2.5+gitr569_2a5e70c-15.3"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20OpenStack%20Cloud%206","source":"SUSE-SU-2017:1964-1"},{"ecosystem":"SUSE:OpenStack Cloud 6","fixed":["1.12.6-87.2"],"introduced":["0"],"last_affected":[],"package":"docker","purl":"pkg:rpm/suse/docker\u0026distro=SUSE%20OpenStack%20Cloud%206","source":"SUSE-SU-2017:1964-1"},{"ecosystem":"SUSE:OpenStack Cloud 6","fixed":["0.1.1+gitr2819_50a19c6-15.2"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/suse/runc\u0026distro=SUSE%20OpenStack%20Cloud%206","source":"SUSE-SU-2017:1964-1"}],"prev":{"headline":"Integer overflow in n/a","id":"CVE-2016-9961"},"products":["n/a"],"published":"2017-01-31","related":[{"cvss_score":10,"headline":"Arbitrary Code Execution","id":"CVE-2014-9357","kev_date_added":null,"published":"2014-12-16"},{"cvss_score":8.8,"headline":"Privilege escalation in Docker","id":"CVE-2020-14298","kev_date_added":null,"published":"2020-07-13"},{"cvss_score":8.8,"headline":"Privilege escalation in Docker","id":"CVE-2020-14300","kev_date_added":null,"published":"2020-07-13"},{"cvss_score":8.8,"headline":"Deserialization in n/a","id":"CVE-2018-15514","kev_date_added":null,"published":"2018-09-01"},{"cvss_score":8.6,"headline":"Path Traversal in Docker","id":"CVE-2014-9356","kev_date_added":null,"published":"2019-12-02"},{"cvss_score":8.4,"headline":"Command injection in n/a","id":"CVE-2019-13139","kev_date_added":null,"published":"2019-08-22"},{"cvss_score":8.1,"headline":"Other in n/a","id":"CVE-2014-5282","kev_date_added":null,"published":"2018-02-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Attackers can exploit a race condition in runc exec to escape containers or modify runtime state by ptracing processes during initialization.","url":"https://insights.sbomify.com/CVE-2016-9962/"}