{"answers":{"affected":"It affects 13 products.","exploited":"There is no known exploitation of CVE-2022-21871 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-21871 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-21871 is a high-severity vulnerability in Microsoft Visual Studio 2017, published on 11 Jan 2022. 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-2022-21871 and fix it if it is affected.\n\nWhat it is: CVE-2022-21871 is a high-severity vulnerability in Microsoft Visual Studio 2017, published on 11 Jan 2022. 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-2022-21871 in the wild and no public exploit code.\n\nAffected product: Microsoft Visual Studio 2017. 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-2022-21871/ (Markdown: https://insights.sbomify.com/CVE-2022-21871/index.md)","id":"CVE-2022-21871","markdown":"https://insights.sbomify.com/CVE-2022-21871/index.md","name":"CVE-2022-21871","record":{"aliases":["GHSA-96mc-ph6g-jw78"],"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 the Diagnostics Hub Standard Collector Runtime 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":"visual_studio_2017","vendor":"microsoft"},{"product":"visual_studio_2019","vendor":"microsoft"},{"product":"windows_10_1507","vendor":"microsoft"},{"product":"windows_10_1607","vendor":"microsoft"},{"product":"windows_10_1809","vendor":"microsoft"},{"product":"windows_10_1909","vendor":"microsoft"},{"product":"windows_10_20h2","vendor":"microsoft"},{"product":"windows_10_21h1","vendor":"microsoft"},{"product":"windows_10_21h2","vendor":"microsoft"},{"product":"windows_11_21h2","vendor":"microsoft"},{"product":"windows_server","vendor":"microsoft"},{"product":"windows_server_2016","vendor":"microsoft"},{"product":"windows_server_2019","vendor":"microsoft"}],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[],"description":"Microsoft Diagnostics Hub Standard Collector Runtime Elevation of Privilege Vulnerability","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Microsoft Diagnostics Hub Standard Collector Runtime Elevation of Privilege Vulnerability","id":"CVE-2022-21871","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:visual_studio_2017","products":["microsoft:visual_studio_2017","microsoft:visual_studio_2019","microsoft:windows_10_1507","microsoft:windows_10_1607","microsoft:windows_10_1809","microsoft:windows_10_20h2","microsoft:windows_10_21h1","microsoft:windows_10_21h2","microsoft:windows_11_21h2","microsoft:windows_server","microsoft:windows_server_2016","microsoft:windows_server_2019"],"type":"privilege_escalation","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Windows Event Tracing Elevation of Privilege Vulnerability","id":"CVE-2022-21872"},"packages":[],"prev":{"headline":"Tablet Windows User Interface Application Core Elevation of Privilege Vulnerability","id":"CVE-2022-21870"},"products":["Microsoft Visual Studio 2015 Update 3","Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)","Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)","Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)","Windows 10 Version 1507","Windows 10 Version 1607","Windows 10 Version 1809","Windows 10 Version 1909","Windows 10 Version 20H2","Windows 10 Version 21H1","Windows 10 Version 21H2","Windows 11 version 21H2","Windows Server 2016","Windows Server 2016 (Server Core installation)","Windows Server 2019","Windows Server 2019 (Server Core installation)","Windows Server 2022","Windows Server version 20H2"],"published":"2022-01-11","related":[{"cvss_score":8.8,"headline":"Visual Studio Remote Code Execution Vulnerability","id":"CVE-2025-21178","kev_date_added":null,"published":"2025-01-14"},{"cvss_score":8.8,"headline":"Code injection in Microsoft Visual Studio 2017","id":"CVE-2019-1349","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":8.8,"headline":"Code injection in Microsoft Visual Studio 2017","id":"CVE-2019-1350","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":8.8,"headline":"Code injection in Microsoft Visual Studio 2017","id":"CVE-2019-1352","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":8.8,"headline":"Code injection in Microsoft Visual Studio 2017","id":"CVE-2019-1354","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":7.8,"headline":"Visual Studio Remote Code Execution Vulnerability","id":"CVE-2023-28296","kev_date_added":null,"published":"2023-04-11"},{"cvss_score":7.8,"headline":"Visual Studio Elevation of Privilege Vulnerability","id":"CVE-2023-21566","kev_date_added":null,"published":"2023-02-14"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-01-02","vendors":["Microsoft"]},"summary":"An attacker can exploit the Diagnostics Hub Standard Collector Runtime to elevate privileges on affected Windows systems.","url":"https://insights.sbomify.com/CVE-2022-21871/"}