CVE-2021-31204
CVE-2021-31204 is a high-severity vulnerability in Microsoft .net with a CVSS 3.x base score of 7.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: High (CVSS 3.x base score 7.3)
- CVSS v2: 4.6
- EPSS exploit prediction: 1% (69th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Microsoft .net
- Published:
- Last modified:
Description
.NET and Visual Studio Elevation of Privilege Vulnerability
Frequently asked questions
- What is CVE-2021-31204?
- .NET and Visual Studio Elevation of Privilege Vulnerability
- How severe is CVE-2021-31204?
- CVE-2021-31204 has a CVSS 3.x base score of 7.3, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-31204 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (69th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-31204?
- CVE-2021-31204 primarily affects Microsoft .net. In total, 7 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-31204?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-31204 published?
- CVE-2021-31204 was published on 2021-05-11 and last updated on 2026-06-17.
References
- 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/6M7KL3KTHJVQNRA3CWFUTESQJARQEHSZ/
- 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/LFXJPQUYUITJMV75YN3XIGE3KKN5GOCU/
- 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/ZWF25Z3CZ6LYCOHZ7FPSFAQ426JUBUZ4/
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31204
Affected products (7)
- cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:.net_core:*:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_studio_2019:*:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_studio_2019:8.9:*:*:*:*:macos:*:*
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
More vulnerabilities in Microsoft .net
- CVE-2024-43498 — Critical (CVSS 9.8): .NET and Visual Studio Remote Code Execution Vulnerability
- CVE-2024-0057 — Critical (CVSS 9.1): NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability
- CVE-2025-21176 — High (CVSS 8.8): .NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
- CVE-2024-0056 — High (CVSS 8.7): Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability
- CVE-2024-38229 — High (CVSS 8.1): .NET and Visual Studio Remote Code Execution Vulnerability
- CVE-2024-35264 — High (CVSS 8.1): .NET and Visual Studio Remote Code Execution Vulnerability