{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-8655 exists.","fix":"Apply the vendor's patch.","what":"CVE-2016-8655 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 8 Dec 2016. 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-8655 and fix it if it is affected.\n\nWhat it is: CVE-2016-8655 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 8 Dec 2016. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-8655 exists.\n\nAffected product: Canonical Ubuntu Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-8655/ (Markdown: https://insights.sbomify.com/CVE-2016-8655/index.md)","id":"CVE-2016-8655","markdown":"https://insights.sbomify.com/CVE-2016-8655/index.md","name":"CVE-2016-8655","record":{"aliases":["DEBIAN-CVE-2016-8655","GHSA-3x7h-7xqw-rj45","RHSA-2017:0402","UBUNTU-CVE-2016-8655","USN-3149-1","USN-3151-1","USN-3151-2","USN-3151-3","USN-3151-4"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["privilege_escalation","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"Local attackers with CAP_NET_RAW can exploit a race condition in the Linux kernel packet socket implementation to gain privileges or cause a denial of service.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"},{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"Race condition in net/packet/af_packet.c in the Linux kernel through 4.8.12 allows local users to gain privileges or cause a denial of service (use-after-free) by leveraging the CAP_NET_RAW capability to change a socket version, related to the packet_set_ring and packet_setsockopt functions.","ecosystems":["Red Hat:enterprise_mrg:2:server:el6"],"exploits":{"exploitdb":4,"first_seen":"2016-08-12","github_poc":6,"max_poc_stars":12,"metasploit":1,"nuclei":0,"refs":[{"date":"2016-12-17T19:14:01Z","kind":"github_poc","ref":"https://github.com/martinmullins/CVE-2016-8655_Android","stars":12,"title":"Android attempt at PoC CVE-2016-8655"},{"date":"2016-12-08T07:41:52Z","kind":"github_poc","ref":"https://github.com/LakshmiDesai/CVE-2016-8655","stars":5,"title":null},{"date":"2016-08-12","kind":"metasploit","ref":"exploit/linux/local/af_packet_chocobo_root_priv_esc","stars":null,"title":"AF_PACKET chocobo_root Privilege Escalation"},{"date":"2016-12-06","kind":"exploitdb","ref":"40871","stars":null,"title":"Linux Kernel 4.4.0 (Ubuntu 14.04/16.04 x86-64) - 'AF_PACKET' Race Condition Privilege Escalation"},{"date":"2016-12-07T00:51:52Z","kind":"github_poc","ref":"https://github.com/scarvell/cve-2016-8655","stars":0,"title":"PoC for CVE-2016-8655 that causes a kernel panic"},{"date":"2016-12-09T02:54:17Z","kind":"github_poc","ref":"https://github.com/KosukeShimofuji/CVE-2016-8655","stars":0,"title":"Linux af_packet.c race condition (local root)"},{"date":"2016-12-09T17:45:04Z","kind":"github_poc","ref":"https://github.com/agkunkle/chocobo","stars":0,"title":"Chocobo Root (CVE-2016-8655) Analysis"},{"date":"2018-05-22","kind":"exploitdb","ref":"44696","stars":null,"title":"Linux 4.4.0 \u003c 4.4.0-53 - 'AF_PACKET chocobo_root' Local Privilege Escalation (Metasploit)"}],"tier":"weaponised"},"has_fix":true,"headline":"Race condition in n/a","id":"CVE-2016-8655","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","linux:linux_kernel"],"type":"race_condition","year":"2016"},"n_packages":15,"n_references":34,"next":{"headline":"Privilege escalation in jbossas","id":"CVE-2016-8656"},"packages":[{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt","purl":"pkg:rpm/redhat/kernel-rt","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-debug","purl":"pkg:rpm/redhat/kernel-rt-debug","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-rt-debug-debuginfo","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-debug-devel","purl":"pkg:rpm/redhat/kernel-rt-debug-devel","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-debuginfo","purl":"pkg:rpm/redhat/kernel-rt-debuginfo","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-debuginfo-common-x86_64","purl":"pkg:rpm/redhat/kernel-rt-debuginfo-common-x86_64","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-devel","purl":"pkg:rpm/redhat/kernel-rt-devel","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-doc","purl":"pkg:rpm/redhat/kernel-rt-doc","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-firmware","purl":"pkg:rpm/redhat/kernel-rt-firmware","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-trace","purl":"pkg:rpm/redhat/kernel-rt-trace","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-trace-debuginfo","purl":"pkg:rpm/redhat/kernel-rt-trace-debuginfo","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-trace-devel","purl":"pkg:rpm/redhat/kernel-rt-trace-devel","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-vanilla","purl":"pkg:rpm/redhat/kernel-rt-vanilla","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-vanilla-debuginfo","purl":"pkg:rpm/redhat/kernel-rt-vanilla-debuginfo","source":"RHSA-2017:0402"},{"ecosystem":"Red Hat:enterprise_mrg:2:server:el6","fixed":["1:3.10.0-514.rt56.215.el6rt"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-vanilla-devel","purl":"pkg:rpm/redhat/kernel-rt-vanilla-devel","source":"RHSA-2017:0402"}],"prev":{"headline":"Memory corruption in jasper","id":"CVE-2016-8654"},"products":["n/a"],"published":"2016-12-08","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers with CAP_NET_RAW can exploit a race condition in the Linux kernel packet socket implementation to gain privileges or cause a denial of service.","url":"https://insights.sbomify.com/CVE-2016-8655/"}