CVE-2021-31199

Microsoft Enhanced Cryptographic Provider Elevation of Privilege Vulnerability

Published 8 Jun 2021 Updated 21 Oct 2025 CNA: microsoft

Known exploited

CISA added this CVE to its list of known exploited vulnerabilities on 3 Nov 2021. US federal agencies had to act by 17 Nov 2021.

Name
Microsoft Enhanced Cryptographic Provider Privilege Escalation Vulnerability
Required action
Apply updates per vendor instructions.
Ransomware
Use in ransomware campaigns is not known
Notes
https://nvd.nist.gov/vuln/detail/CVE-2021-31199

Description

Microsoft Enhanced Cryptographic Provider Elevation of Privilege Vulnerability

Severity (CVSS)

5.2 medium CVSS 3.1 from microsoft (CNA)
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
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 2.98%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 87.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 20 Mar 2024):

Exploitation
active: CISA has reliable evidence of exploitation in the wild
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Windows 10 Version 1809
affected from 10.0.0, before 10.0.17763.1999
Windows Server 2019
affected from 10.0.0, before 10.0.17763.1999
Windows Server 2019 (Server Core installation)
affected from 10.0.0, before 10.0.17763.1999
Windows 10 Version 1909
affected from 10.0.0, before 10.0.18363.1621
Windows 10 Version 21H1
affected from 10.0.0, before 10.0.19043.1052
Windows 10 Version 2004
affected from 10.0.0, before 10.0.19041.1052
Windows Server version 2004
affected from 10.0.0, before 10.0.19041.1052
Windows 10 Version 20H2
affected from 10.0.0, before 10.0.19042.1052
Windows Server version 20H2
affected from 10.0.0, before 10.0.19042.1052
Windows 10 Version 1507
affected from 10.0.0, before 10.0.10240.18967
Windows 10 Version 1607
affected from 10.0.0, before 10.0.14393.4467
Windows Server 2016
affected from 10.0.0, before 10.0.14393.4467
Windows Server 2016 (Server Core installation)
affected from 10.0.0, before 10.0.14393.4467
Windows 7
affected from 6.1.0, before 6.1.7601.25632
Windows 7 Service Pack 1
affected from 6.1.0, before 6.1.7601.25632
Windows 8.1
affected from 6.3.0, before 6.3.9600.20045
affected from 6.3.0, before 6.3.9600.20044
Windows Server 2008 Service Pack 2
affected from 6.0.0, before 6.0.6003.21137
Windows Server 2008 Service Pack 2 (Server Core installation)
affected from 6.0.0, before 6.0.6003.21137
Windows Server 2008 Service Pack 2
affected from 6.0.0, before 6.0.6003.21137
Windows Server 2008 R2 Service Pack 1
affected from 6.1.0, before 6.1.7601.25632
Windows Server 2008 R2 Service Pack 1 (Server Core installation)
affected from 6.0.0, before 6.1.7601.25632
Windows Server 2012
affected from 6.2.0, before 6.2.9200.23372
Windows Server 2012 (Server Core installation)
affected from 6.2.0, before 6.2.9200.23372
Windows Server 2012 R2
affected from 6.3.0, before 6.3.9600.20045
affected from 6.3.0, before 6.3.9600.20044
Windows Server 2012 R2 (Server Core installation)
affected from 6.3.0, before 6.3.9600.20045
affected from 6.3.0, before 6.3.9600.20044

Is my server affected?

This CVE is in Windows 10 Version 1809 of Microsoft, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Other references

Source: the record CVE-2021-31199 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.