{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-21768 exists.","fix":"No fix has been published for CVE-2023-21768 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-21768 is a high-severity vulnerability in Microsoft Windows 11, published on 10 Jan 2023. 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-2023-21768 and fix it if it is affected.\n\nWhat it is: CVE-2023-21768 is a high-severity vulnerability in Microsoft Windows 11, published on 10 Jan 2023. 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-2023-21768 exists.\n\nAffected product: Microsoft Windows 11. 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-2023-21768/ (Markdown: https://insights.sbomify.com/CVE-2023-21768/index.md)","id":"CVE-2023-21768","markdown":"https://insights.sbomify.com/CVE-2023-21768/index.md","name":"CVE-2023-21768","record":{"aliases":["GHSA-j69v-7pj3-vg67"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Windows OS","requires_auth":"low_privilege","summary":"An attacker can exploit a flaw in the Windows Ancillary Function Driver for WinSock to elevate privileges on affected Windows systems.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"windows_11","vendor":"microsoft"},{"product":"windows_server_2022","vendor":"microsoft"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-822","name":"Untrusted Pointer Dereference"}],"description":"Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-01-10","github_poc":14,"max_poc_stars":506,"metasploit":1,"nuclei":0,"refs":[{"date":"2023-03-07T23:00:27Z","kind":"github_poc","ref":"https://github.com/chompie1337/Windows_LPE_AFD_CVE-2023-21768","stars":506,"title":"LPE exploit for CVE-2023-21768"},{"date":"2023-03-10T19:08:28Z","kind":"github_poc","ref":"https://github.com/SamuelTulach/nullmap","stars":203,"title":"Using CVE-2023-21768 to manual map kernel mode driver "},{"date":"2023-03-13T20:32:50Z","kind":"github_poc","ref":"https://github.com/Malwareman007/CVE-2023-21768","stars":68,"title":"Windows_AFD_LPE_CVE-2023-21768"},{"date":"2023-03-10T03:36:52Z","kind":"github_poc","ref":"https://github.com/cl4ym0re/cve-2023-21768-compiled","stars":27,"title":"cve-2023-21768"},{"date":"2023-03-22T07:24:36Z","kind":"github_poc","ref":"https://github.com/P4x1s/CVE-2023-21768-POC","stars":23,"title":"CVE-2023-21768 Windows 11 22H2 系统本地提权 POC"},{"date":"2023-04-20T08:26:42Z","kind":"github_poc","ref":"https://github.com/zoemurmure/CVE-2023-21768-AFD-for-WinSock-EoP-exploit","stars":15,"title":null},{"date":"2024-05-15T17:42:10Z","kind":"github_poc","ref":"https://github.com/xboxoneresearch/CVE-2023-21768-dotnet","stars":15,"title":"C# / .NET version of CVE-2023-21768"},{"date":"2023-04-05T02:05:17Z","kind":"github_poc","ref":"https://github.com/h1bAna/CVE-2023-21768","stars":3,"title":null}],"tier":"weaponised"},"has_fix":null,"headline":"Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability","id":"CVE-2023-21768","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:windows_11","products":["microsoft:windows_11","microsoft:windows_server_2022"],"type":"privilege_escalation","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability","id":"CVE-2023-21769"},"packages":[],"prev":{"headline":"Windows Overlay Filter Elevation of Privilege Vulnerability","id":"CVE-2023-21767"},"products":["Windows 11 version 21H2","Windows 11 version 22H2","Windows Server 2022"],"published":"2023-01-10","related":[{"cvss_score":8.8,"headline":"SMB Client and Server Remote Code Execution Vulnerability","id":"CVE-2022-35804","kev_date_added":null,"published":"2022-08-09"},{"cvss_score":8.8,"headline":"Windows Kernel Elevation of Privilege Vulnerability","id":"CVE-2022-29133","kev_date_added":null,"published":"2022-05-10"},{"cvss_score":8,"headline":"Windows Hyper-V Remote Code Execution Vulnerability","id":"CVE-2021-38672","kev_date_added":null,"published":"2021-10-13"},{"cvss_score":7.8,"headline":"DirectX Graphics Kernel Elevation of Privilege Vulnerability","id":"CVE-2022-44710","kev_date_added":null,"published":"2022-12-13"},{"cvss_score":7.8,"headline":"Win32k Elevation of Privilege Vulnerability","id":"CVE-2022-21996","kev_date_added":null,"published":"2022-02-09"},{"cvss_score":7.5,"headline":"Internet Key Exchange (IKE) Protocol Denial of Service Vulnerability","id":"CVE-2022-38036","kev_date_added":null,"published":"2022-10-11"}],"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-01","vendors":["Microsoft"]},"summary":"An attacker can exploit a flaw in the Windows Ancillary Function Driver for WinSock to elevate privileges on affected Windows systems.","url":"https://insights.sbomify.com/CVE-2023-21768/"}