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

- Severity: High 7.3 (CVSS:3.1, scored by microsoft) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.19%, higher than 68% of CVEs (2026-12-01)
- Published: 2021-05-11T19:11:40.000Z
- Modified: 2026-10-07T17:16:42.367Z
- Also known as: BIT-DOTNET-2021-31204, BIT-DOTNET-SDK-2021-31204
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: microsoft

## Description

.NET and Visual Studio Elevation of Privilege Vulnerability

(As written by CVE List.)

## Affected

- Microsoft .NET Core 3.1: from 3.1 before 3.1.15-servicing.21214.3
- Microsoft .NET 5.0: from 5.0.0 before 5.0.6-servicing.21220.11
- Microsoft Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8): from 15.0.0 before publication
- Microsoft Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3): from 16.0 before publication
- Microsoft Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6): from 16.0.0 before publication
- Microsoft Visual Studio 2019 for Mac version 8.9: from 8.0 before publication
- microsoft .net: from 5.0 up to 5.0.5
- microsoft .net_core: from 3.1 up to 3.1.14
- microsoft visual_studio_2019: from 16.0 before 16.4.22; from 16.5.0 before 16.7.15; from 16.8.0 before 16.9.5; 8.9
- fedoraproject fedora: 32; 33; 34
- dotnet (Bitnami): from 5.0.0 before 5.0.6
- dotnet-sdk (Bitnami): from 5.0.0 before 5.0.6

## Every score

- microsoft: CVSS:3.1 7.3 High `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`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31204> (advisory, patch, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FVMWZPF4FR6JPFSNAIDIUDULHZJBVCW6/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6M7KL3KTHJVQNRA3CWFUTESQJARQEHSZ/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4F3VM3RMPE7PNNLLI3BPCSAXITQZCFCA/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZWF25Z3CZ6LYCOHZ7FPSFAQ426JUBUZ4/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UV4ITB3SUDGR23G7XALUVKFJMZERFUKF/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LFXJPQUYUITJMV75YN3XIGE3KKN5GOCU/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-31204> (web)

## Sources

- CVE List: [CVE-2021-31204](https://www.cve.org/CVERecord?id=CVE-2021-31204), CVE Terms of Use, modified 2026-10-07
- NVD: [CVE-2021-31204](https://nvd.nist.gov/vuln/detail/CVE-2021-31204), Public domain, modified 2026-10-07
- Bitnami Vulnerability Database: [BIT-DOTNET-2021-31204](https://osv.dev/vulnerability/BIT-DOTNET-2021-31204), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-DOTNET-SDK-2021-31204](https://osv.dev/vulnerability/BIT-DOTNET-SDK-2021-31204), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-31204 · Whole record: https://cve.day/CVE-2021-31204.json · Rebuilt by cve.day 2026-11-25T22:58:01.297Z
