{"answers":{"affected":"It affects 11 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-0217 exists.","fix":"Apply the vendor's patch.","what":"CVE-2012-0217 is a high-severity vulnerability in Citrix Xenserver, published on 12 Jun 2012. 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-2012-0217 and fix it if it is affected.\n\nWhat it is: CVE-2012-0217 is a high-severity vulnerability in Citrix Xenserver, published on 12 Jun 2012. 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-2012-0217 exists.\n\nAffected product: Citrix Xenserver. 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-2012-0217/ (Markdown: https://insights.sbomify.com/CVE-2012-0217/index.md)","id":"CVE-2012-0217","markdown":"https://insights.sbomify.com/CVE-2012-0217/index.md","name":"CVE-2012-0217","record":{"aliases":["DEBIAN-CVE-2012-0217","DSA-2508-1","GHSA-q644-363q-jfmm"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OS Kernel","requires_auth":"low_privilege","summary":"Local attackers can gain privileges via a crafted application exploiting incorrect sysret path handling in the kernel on Intel processors.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"debian","cpe":[{"product":"xenserver","vendor":"citrix"},{"product":"freebsd","vendor":"freebsd"},{"product":"illumos","vendor":"illumos"},{"product":"smartos","vendor":"joyent"},{"product":"windows_7","vendor":"microsoft"},{"product":"windows_server_2003","vendor":"microsoft"},{"product":"windows_server_2008","vendor":"microsoft"},{"product":"windows_xp","vendor":"microsoft"},{"product":"netbsd","vendor":"netbsd"},{"product":"sunos","vendor":"sun"},{"product":"xen","vendor":"xen"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and other products; Oracle Solaris 11 and earlier; illumos before r13724; Joyent SmartOS before 20120614T184600Z; FreeBSD before 9.0-RELEASE-p3; NetBSD 6.0 Beta and earlier; Microsoft Windows Server 2008 R2 and R2 SP1 and Windows 7 Gold and SP1; and possibly other operating systems, when running on an Intel processor, incorrectly uses the sysret path in cases where a certain address is not a canonical address, which allows local users to gain privileges via a crafted application.  NOTE: because this issue is due to incorrect use of the Intel specification, it should have been split into separate identifiers; however, there was some value in preserving the original mapping of the multi-codebase coordinated-disclosure effort to a single identifier.","ecosystems":[],"exploits":{"exploitdb":4,"first_seen":"2012-06-12","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2012-06-12","kind":"metasploit","ref":"exploit/freebsd/local/intel_sysret_priv_esc","stars":null,"title":"FreeBSD Intel SYSRET Privilege Escalation"},{"date":"2012-08-27","kind":"exploitdb","ref":"20861","stars":null,"title":"Microsoft Windows Kernel - Intel x64 SYSRET (MS12-042)"},{"date":"2013-10-04","kind":"exploitdb","ref":"28718","stars":null,"title":"FreeBSD 9.0 - Intel SYSRET Kernel Privilege Escalation"},{"date":"2019-03-07","kind":"exploitdb","ref":"46508","stars":null,"title":"FreeBSD - Intel SYSRET Privilege Escalation (Metasploit)"},{"date":"2019-03-07","kind":"exploitdb","ref":"46508","stars":null,"title":"FreeBSD - Intel SYSRET Privilege Escalation (Metasploit)"}],"tier":"weaponised"},"has_fix":true,"headline":"Privilege escalation in n/a","id":"CVE-2012-0217","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"citrix:xenserver","products":["citrix:xenserver","freebsd:freebsd","microsoft:windows_7","microsoft:windows_server_2003","microsoft:windows_server_2008","microsoft:windows_xp","netbsd:netbsd","sun:sunos","xen:xen"],"type":"privilege_escalation","year":"2012"},"n_packages":0,"n_references":23,"next":{"headline":"Denial of service in n/a","id":"CVE-2012-0218"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2012-0216"},"products":["n/a"],"published":"2012-06-12","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2014-4947","kev_date_added":null,"published":"2014-07-22"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2018-14007","kev_date_added":null,"published":"2018-08-15"},{"cvss_score":9.8,"headline":"Denial of service in n/a","id":"CVE-2015-7705","kev_date_added":null,"published":"2017-08-07"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2016-5302","kev_date_added":null,"published":"2016-06-13"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2017-12134","kev_date_added":null,"published":"2017-08-24"},{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2017-12135","kev_date_added":null,"published":"2017-08-24"},{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2017-12137","kev_date_added":null,"published":"2017-08-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers can gain privileges via a crafted application exploiting incorrect sysret path handling in the kernel on Intel processors.","url":"https://insights.sbomify.com/CVE-2012-0217/"}