{"answers":{"affected":"It affects 16 products.","exploited":"Yes. Attackers have exploited CVE-2021-31199 in the wild since at least 3 Nov 2021.","fix":"No fix has been published for CVE-2021-31199 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 17 Nov 2021.","what":"CVE-2021-31199 is a medium-severity vulnerability in Microsoft Windows 10 1507, published on 8 Jun 2021. 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-2021-31199 and fix it if it is affected.\n\nWhat it is: CVE-2021-31199 is a medium-severity vulnerability in Microsoft Windows 10 1507, published on 8 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2021-31199 in the wild since at least 3 Nov 2021.\n\nAffected product: Microsoft Windows 10 1507. 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-2021-31199/ (Markdown: https://insights.sbomify.com/CVE-2021-31199/index.md)","id":"CVE-2021-31199","markdown":"https://insights.sbomify.com/CVE-2021-31199/index.md","name":"CVE-2021-31199","record":{"aliases":["GHSA-j8p4-6frh-8hrj"],"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 Microsoft Enhanced Cryptographic Provider 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_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_2004","vendor":"microsoft"},{"product":"windows_10_20h2","vendor":"microsoft"},{"product":"windows_10_21h1","vendor":"microsoft"},{"product":"windows_7","vendor":"microsoft"},{"product":"windows_8.1","vendor":"microsoft"},{"product":"windows_rt_8.1","vendor":"microsoft"},{"product":"windows_server_2004","vendor":"microsoft"},{"product":"windows_server_2008","vendor":"microsoft"},{"product":"windows_server_2012","vendor":"microsoft"},{"product":"windows_server_2016","vendor":"microsoft"},{"product":"windows_server_2019","vendor":"microsoft"},{"product":"windows_server_20h2","vendor":"microsoft"}],"cvss":{"score":5.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C","version":"3.1"},"cwes":[],"description":"Microsoft Enhanced Cryptographic Provider Elevation of Privilege Vulnerability","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":null,"headline":"Microsoft Enhanced Cryptographic Provider Privilege Escalation","id":"CVE-2021-31199","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2021-11-17","knownRansomwareCampaignUse":"Unknown","product":"Enhanced Cryptographic Provider","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Microsoft","vulnerabilityName":"Microsoft Enhanced Cryptographic Provider Privilege Escalation Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"microsoft:windows_10_1507","products":["microsoft:windows_10_1507","microsoft:windows_10_1607","microsoft:windows_10_1809","microsoft:windows_10_20h2","microsoft:windows_10_21h1","microsoft:windows_7","microsoft:windows_8.1","microsoft:windows_rt_8.1","microsoft:windows_server_2008","microsoft:windows_server_2012","microsoft:windows_server_2016","microsoft:windows_server_2019","microsoft:windows_server_20h2"],"type":"privilege_escalation","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Common Utilities Remote Code Execution Vulnerability","id":"CVE-2021-31200"},"packages":[],"prev":{"headline":"Microsoft Exchange Server Remote Code Execution Vulnerability","id":"CVE-2021-31198"},"products":["Windows 10 Version 1507","Windows 10 Version 1607","Windows 10 Version 1809","Windows 10 Version 1909","Windows 10 Version 2004","Windows 10 Version 20H2","Windows 10 Version 21H1","Windows 7","Windows 7 Service Pack 1","Windows 8.1","Windows Server 2008  Service Pack 2","Windows Server 2008 R2 Service Pack 1","Windows Server 2008 R2 Service Pack 1 (Server Core installation)","Windows Server 2008 Service Pack 2","Windows Server 2008 Service Pack 2 (Server Core installation)","Windows Server 2012","Windows Server 2012 (Server Core installation)","Windows Server 2012 R2","Windows Server 2012 R2 (Server Core installation)","Windows Server 2016","Windows Server 2016 (Server Core installation)","Windows Server 2019","Windows Server 2019 (Server Core installation)","Windows Server version 2004","Windows Server version 20H2"],"published":"2021-06-08","related":[{"cvss_score":9.8,"headline":"Microsoft Windows Search Remote Code Execution","id":"CVE-2017-8543","kev_date_added":"2022-05-24","published":"2017-06-15"},{"cvss_score":8.8,"headline":"Microsoft Windows External Control of File Name or Path","id":"CVE-2025-33053","kev_date_added":"2025-06-10","published":"2025-06-10"},{"cvss_score":8.8,"headline":"Microsoft Windows SMB Client Improper Access Control","id":"CVE-2025-33073","kev_date_added":"2025-10-20","published":"2025-06-10"},{"cvss_score":8.8,"headline":"Microsoft Windows Task Scheduler Privilege Escalation","id":"CVE-2024-49039","kev_date_added":"2024-11-12","published":"2024-11-12"},{"cvss_score":8.8,"headline":"Microsoft Windows MSHTML Platform Spoofing","id":"CVE-2024-43461","kev_date_added":"2024-09-16","published":"2024-09-10"},{"cvss_score":8.8,"headline":"Microsoft Windows MSHTML Platform Security Feature Bypass","id":"CVE-2024-30040","kev_date_added":"2024-05-14","published":"2024-05-14"},{"cvss_score":8.8,"headline":"Microsoft Windows SmartScreen Security Feature Bypass","id":"CVE-2023-36025","kev_date_added":"2023-11-14","published":"2023-11-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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Microsoft"]},"summary":"An attacker can exploit the Microsoft Enhanced Cryptographic Provider to elevate privileges on affected Windows systems.","url":"https://insights.sbomify.com/CVE-2021-31199/"}