CVE record · CVE-2021-31204

.NET and Visual Studio Elevation of Privilege Vulnerability

CVSS 7.3 HighEPSS 0.012 · 68th percentile

Published by the CVE Program (CNA: microsoft) at 11 May 2021, 19:11 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
Microsoft .NET Core 3.1
  • affected 3.1 to before 3.1.15-servicing.21214.3 custom
Microsoft .NET 5.0
  • affected 5.0.0 to before 5.0.6-servicing.21220.11 custom
Microsoft Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)
  • affected 15.0.0 to before publication custom
Microsoft Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3)
  • affected 16.0 to before publication custom
Microsoft Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)
  • affected 16.0.0 to before publication custom
Microsoft Visual Studio 2019 for Mac version 8.9
  • affected 8.0 to before publication custom
Identifiers
CVE-2021-31204
CNA
microsoft
Weakness (CWE)
CWE-269
Published
11 May 2021
Updated
7 Oct 2026

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.3 High 3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C CNA (microsoft)
  • CISA KEV Not listed.
  • EPSS 0.012, the 68th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the CVE Program, published 11 May 2021. New records show when each source confirmed them.

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.