CVE-2021-31204
.NET and Visual Studio Elevation of Privilege Vulnerability
Description
.NET and Visual Studio Elevation of Privilege Vulnerability
Severity (CVSS)
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
- 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
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 68.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 4 Jun 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-269 Improper Privilege Management
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| .NET Core 3.1 |
affected from 3.1, before 3.1.15-servicing.21214.3
|
| .NET 5.0 |
affected from 5.0.0, before 5.0.6-servicing.21220.11
|
| Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8) |
affected from 15.0.0, before publication
|
| Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3) |
affected from 16.0, before publication
|
| Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6) |
affected from 16.0.0, before publication
|
| Visual Studio 2019 for Mac version 8.9 |
affected from 8.0, before publication
|
Is my server affected?
This CVE is in .NET Core 3.1 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
- FEDORA-2021-a3c205f5b2 lists.fedoraproject.org · vendor advisory
- FEDORA-2021-13e3bd248f lists.fedoraproject.org · vendor advisory
- FEDORA-2021-721731dc86 lists.fedoraproject.org · vendor advisory
- FEDORA-2021-c06b64b5ee lists.fedoraproject.org · vendor advisory
- FEDORA-2021-f25eb9e302 lists.fedoraproject.org · vendor advisory
- FEDORA-2021-d551431950 lists.fedoraproject.org · vendor advisory
Other references
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31204 portal.msrc.microsoft.com
Source: the record CVE-2021-31204 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse