# CVE-2021-31204: .NET and Visual Studio Elevation of Privilege Vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-05-11 · Modified: 2026-10-07
- Aliases: RHSA-2021:1546, RHSA-2021:1547, RHSA-2021:2036, RHSA-2021:2037
- Record: https://cvemate.com/vulnerability/CVE-2021-31204 · JSON: https://cvemate.com/vulnerability/CVE-2021-31204/json

## Description

```text
.NET and Visual Studio Elevation of Privilege Vulnerability
```

## Signals

- CVSS: 7.3 high (v3.1, CVE.org) 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
- EPSS: 1.192%, percentile 69.015%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 68)

- fedoraproject fedora: 32 \| 33 \| 34
- microsoft microsoft visual studio 2019 version 16.4 (includes 16.0 - 16.3): ≥ 16.0, \< publication
- microsoft microsoft visual studio 2019 version 16.7 (includes 16.0 – 16.6): ≥ 16.0.0, \< publication
- microsoft microsoft visual studio 2019 version 16.9 (includes 16.0 - 16.8): ≥ 15.0.0, \< publication
- microsoft .net: ≥ 5.0, ≤ 5.0.5
- microsoft .net 5.0: ≥ 5.0.0, \< 5.0.6-servicing.21220.11
- microsoft .net\_core: ≥ 3.1, ≤ 3.1.14
- microsoft .net core 3.1: ≥ 3.1, \< 3.1.15-servicing.21214.3
- microsoft visual\_studio\_2019: ≥ 16.0, \< 16.4.22 \| ≥ 16.5.0, \< 16.7.15 \| ≥ 16.8.0, \< 16.9.5 \| 8.9
- microsoft visual studio 2019 for mac version 8.9: ≥ 8.0, \< publication
- redhat aspnetcore-runtime-3.1 (Red Hat): \< 0:3.1.15-1.el8\_4
- redhat aspnetcore-runtime-5.0 (Red Hat): \< 0:5.0.6-1.el8\_4
- redhat aspnetcore-targeting-pack-3.1 (Red Hat): \< 0:3.1.15-1.el8\_4
- redhat aspnetcore-targeting-pack-5.0 (Red Hat): \< 0:5.0.6-1.el8\_4
- redhat dotnet (Red Hat): \< 0:5.0.203-1.el8\_4
- redhat dotnet-apphost-pack-3.1 (Red Hat): \< 0:3.1.15-1.el8\_4
- redhat dotnet-apphost-pack-3.1-debuginfo (Red Hat): \< 0:3.1.15-1.el8\_4
- redhat dotnet-apphost-pack-5.0 (Red Hat): \< 0:5.0.6-1.el8\_4
- redhat dotnet-apphost-pack-5.0-debuginfo (Red Hat): \< 0:5.0.6-1.el8\_4
- redhat dotnet-host (Red Hat): \< 0:5.0.6-1.el8\_4

## References (first 20 of 22)

- <https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31204>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FVMWZPF4FR6JPFSNAIDIUDULHZJBVCW6/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6M7KL3KTHJVQNRA3CWFUTESQJARQEHSZ/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4F3VM3RMPE7PNNLLI3BPCSAXITQZCFCA/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZWF25Z3CZ6LYCOHZ7FPSFAQ426JUBUZ4/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UV4ITB3SUDGR23G7XALUVKFJMZERFUKF/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LFXJPQUYUITJMV75YN3XIGE3KKN5GOCU/>
- <https://access.redhat.com/errata/RHSA-2021:1546>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1956815>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1546.json>
- <https://access.redhat.com/security/cve/CVE-2021-31204>
- <https://www.cve.org/CVERecord?id=CVE-2021-31204>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-31204>
- <https://github.com/dotnet/announcements/issues/185>
- <https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-31204>
- <https://access.redhat.com/errata/RHSA-2021:1547>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1547.json>
- <https://access.redhat.com/errata/RHSA-2021:2036>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_2036.json>

---

Data as of 2026-12-05T08:43:15.574Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
