CVE-2021-31204
JSON

7.3high

.NET and Visual Studio Elevation of Privilege Vulnerability

Severity
7.3high CVSS:3.1 by microsoft
Exploit likelihood
1.19% (higher than 68% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
microsoft
Also known as
BIT-DOTNET-2021-31204BIT-DOTNET-SDK-2021-31204

Description

.NET and Visual Studio Elevation of Privilege Vulnerability

Affected

Product or packageVersionsReported by
Microsoft .NET Core 3.1from 3.1 before 3.1.15-servicing.21214.3CVE List
Microsoft .NET 5.0from 5.0.0 before 5.0.6-servicing.21220.11CVE List
Microsoft Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)from 15.0.0 before publicationCVE List
Microsoft Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3)from 16.0 before publicationCVE List
Microsoft Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)from 16.0.0 before publicationCVE List
Microsoft Visual Studio 2019 for Mac version 8.9from 8.0 before publicationCVE List
microsoft .netfrom 5.0 up to 5.0.5NVD
microsoft .net_corefrom 3.1 up to 3.1.14NVD
microsoft visual_studio_2019from 16.0 before 16.4.22, from 16.5.0 before 16.7.15, from 16.8.0 before 16.9.5, 8.9NVD
fedoraproject fedora32, 33, 34NVD
dotnet (Bitnami)from 5.0.0 before 5.0.6Bitnami Vulnerability Database
dotnet-sdk (Bitnami)from 5.0.0 before 5.0.6Bitnami Vulnerability Database

All scores

microsoft7.3high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:L/AC:L/Au:N/C:P/I:P/A:P
Bitnami Vulnerability Databasehigh rating

Classification

CWE-269

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

.NET and Visual Studio Elevation of Privilege Vulnerability

NVD (es)

Una vulnerabilidad de Escalada de Privilegios de .NET y Visual Studio

References

https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31204advisory, 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-31204web

Sources

SourceRecordLicence
CVE ListCVE-2021-31204 changed 2026-10-07CVE Terms of Use
NVDCVE-2021-31204 changed 2026-10-07Public domain
Bitnami Vulnerability DatabaseBIT-DOTNET-2021-31204 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-DOTNET-SDK-2021-31204 changed 2026-09-08Apache-2.0