Every CVE Search/ Get API key

CVE-2021-31204

.NET and Visual Studio Elevation of Privilege Vulnerability

7.3 HighFix available

.NET and Visual Studio Elevation of Privilege Vulnerability

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.19%Up 0.8 points since May 12, 2021
90%50%10%1%

What each source reports

CVE List Score used 7.3

.NET and Visual Studio Elevation of Privilege Vulnerability

.NET and Visual Studio Elevation of Privilege Vulnerability

Record
CVE-2021-31204
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Weakness
CWE-269
Updated
2026-11-02
EUVDEUVD-2021-18117 7.3

.NET and Visual Studio Elevation of Privilege Vulnerability

Record
EUVD-2021-18117
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Updated
2026-11-02
NVD 7.3

.NET and Visual Studio Elevation of Privilege Vulnerability

Record
CVE-2021-31204
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-269
Updated
2026-11-02
OSV 7.3

.NET and Visual Studio Elevation of Privilege Vulnerability

Record
CVE-2021-31204
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2021:1546 7.3

Red Hat Security Advisory: .NET 5.0 on Red Hat Enterprise Linux security and bugfix update

Record
RHSA-2021:1546
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2021:1547 7.3

Red Hat Security Advisory: .NET Core 3.1 on Red Hat Enterprise Linux security and bugfix update

Record
RHSA-2021:1547
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVRHSA-2021:2036 7.3

Red Hat Security Advisory: dotnet5.0 security and bugfix update

Record
RHSA-2021:2036
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2021:2037 7.3

Red Hat Security Advisory: dotnet3.1 security and bugfix update

Record
RHSA-2021:2037
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBIT-dotnet-2021-31204 No score

.NET and Visual Studio Elevation of Privilege Vulnerability

.NET and Visual Studio Elevation of Privilege Vulnerability

Record
BIT-dotnet-2021-31204
Updated
2026-11-02
OSVBIT-dotnet-sdk-2021-31204 No score

.NET and Visual Studio Elevation of Privilege Vulnerability

.NET and Visual Studio Elevation of Privilege Vulnerability

Record
BIT-dotnet-sdk-2021-31204
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
dotnet
Bitnami
5.0.0 up to 5.0.6
5.0.6
dotnet-sdk
Bitnami
5.0.0 up to 5.0.6
5.0.6
rh-dotnet50-aspnetcore-runtime-5.0
Red Hat:rhel_dotnet:5.0::el7
before 0:5.0.6-1.el7_9
0:5.0.6-1.el7_9
rh-dotnet50-aspnetcore-targeting-pack-5.0
Red Hat:rhel_dotnet:5.0::el7
before 0:5.0.6-1.el7_9
0:5.0.6-1.el7_9
rh-dotnet50-dotnet
Red Hat:rhel_dotnet:5.0::el7
before 0:5.0.203-1.el7_9
0:5.0.203-1.el7_9
rh-dotnet50-dotnet-apphost-pack-5.0
Red Hat:rhel_dotnet:5.0::el7
before 0:5.0.6-1.el7_9
0:5.0.6-1.el7_9
rh-dotnet50-dotnet-debuginfo
Red Hat:rhel_dotnet:5.0::el7
before 0:5.0.203-1.el7_9
0:5.0.203-1.el7_9
rh-dotnet50-dotnet-host
Red Hat:rhel_dotnet:5.0::el7
before 0:5.0.6-1.el7_9
0:5.0.6-1.el7_9
rh-dotnet50-dotnet-hostfxr-5.0
Red Hat:rhel_dotnet:5.0::el7
before 0:5.0.6-1.el7_9
0:5.0.6-1.el7_9
rh-dotnet50-dotnet-runtime-5.0
Red Hat:rhel_dotnet:5.0::el7
before 0:5.0.6-1.el7_9
0:5.0.6-1.el7_9
Show 50 moreShow less
Affected packages
PackageAffectedFixed
rh-dotnet50-dotnet-sdk-5.0
Red Hat:rhel_dotnet:5.0::el7
before 0:5.0.203-1.el7_9
0:5.0.203-1.el7_9
rh-dotnet50-dotnet-targeting-pack-5.0
Red Hat:rhel_dotnet:5.0::el7
before 0:5.0.6-1.el7_9
0:5.0.6-1.el7_9
rh-dotnet50-dotnet-templates-5.0
Red Hat:rhel_dotnet:5.0::el7
before 0:5.0.203-1.el7_9
0:5.0.203-1.el7_9
rh-dotnet50-netstandard-targeting-pack-2.1
Red Hat:rhel_dotnet:5.0::el7
before 0:5.0.203-1.el7_9
0:5.0.203-1.el7_9
rh-dotnet31-aspnetcore-runtime-3.1
Red Hat:rhel_dotnet:3.1::el7
before 0:3.1.15-1.el7_9
0:3.1.15-1.el7_9
rh-dotnet31-aspnetcore-targeting-pack-3.1
Red Hat:rhel_dotnet:3.1::el7
before 0:3.1.15-1.el7_9
0:3.1.15-1.el7_9
rh-dotnet31-dotnet
Red Hat:rhel_dotnet:3.1::el7
before 0:3.1.115-1.el7_9
0:3.1.115-1.el7_9
rh-dotnet31-dotnet-apphost-pack-3.1
Red Hat:rhel_dotnet:3.1::el7
before 0:3.1.15-1.el7_9
0:3.1.15-1.el7_9
rh-dotnet31-dotnet-debuginfo
Red Hat:rhel_dotnet:3.1::el7
before 0:3.1.115-1.el7_9
0:3.1.115-1.el7_9
rh-dotnet31-dotnet-host
Red Hat:rhel_dotnet:3.1::el7
before 0:3.1.15-1.el7_9
0:3.1.15-1.el7_9
rh-dotnet31-dotnet-hostfxr-3.1
Red Hat:rhel_dotnet:3.1::el7
before 0:3.1.15-1.el7_9
0:3.1.15-1.el7_9
rh-dotnet31-dotnet-runtime-3.1
Red Hat:rhel_dotnet:3.1::el7
before 0:3.1.15-1.el7_9
0:3.1.15-1.el7_9
rh-dotnet31-dotnet-sdk-3.1
Red Hat:rhel_dotnet:3.1::el7
before 0:3.1.115-1.el7_9
0:3.1.115-1.el7_9
rh-dotnet31-dotnet-targeting-pack-3.1
Red Hat:rhel_dotnet:3.1::el7
before 0:3.1.15-1.el7_9
0:3.1.15-1.el7_9
rh-dotnet31-dotnet-templates-3.1
Red Hat:rhel_dotnet:3.1::el7
before 0:3.1.115-1.el7_9
0:3.1.115-1.el7_9
rh-dotnet31-netstandard-targeting-pack-2.1
Red Hat:rhel_dotnet:3.1::el7
before 0:3.1.115-1.el7_9
0:3.1.115-1.el7_9
aspnetcore-runtime-5.0
Red Hat:enterprise_linux:8::appstream
before 0:5.0.6-1.el8_4
0:5.0.6-1.el8_4
aspnetcore-targeting-pack-5.0
Red Hat:enterprise_linux:8::appstream
before 0:5.0.6-1.el8_4
0:5.0.6-1.el8_4
dotnet
Red Hat:enterprise_linux:8::appstream
before 0:5.0.203-1.el8_4
0:5.0.203-1.el8_4
dotnet-apphost-pack-5.0
Red Hat:enterprise_linux:8::appstream
before 0:5.0.6-1.el8_4
0:5.0.6-1.el8_4
dotnet-apphost-pack-5.0-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:5.0.6-1.el8_4
0:5.0.6-1.el8_4
dotnet-host
Red Hat:enterprise_linux:8::appstream
before 0:5.0.6-1.el8_4
0:5.0.6-1.el8_4
dotnet-host-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:5.0.6-1.el8_4
0:5.0.6-1.el8_4
dotnet-hostfxr-5.0
Red Hat:enterprise_linux:8::appstream
before 0:5.0.6-1.el8_4
0:5.0.6-1.el8_4
dotnet-hostfxr-5.0-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:5.0.6-1.el8_4
0:5.0.6-1.el8_4
dotnet-runtime-5.0
Red Hat:enterprise_linux:8::appstream
before 0:5.0.6-1.el8_4
0:5.0.6-1.el8_4
dotnet-runtime-5.0-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:5.0.6-1.el8_4
0:5.0.6-1.el8_4
dotnet-sdk-5.0
Red Hat:enterprise_linux:8::appstream
before 0:5.0.203-1.el8_4
0:5.0.203-1.el8_4
dotnet-sdk-5.0-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:5.0.203-1.el8_4
0:5.0.203-1.el8_4
dotnet-targeting-pack-5.0
Red Hat:enterprise_linux:8::appstream
before 0:5.0.6-1.el8_4
0:5.0.6-1.el8_4
dotnet-templates-5.0
Red Hat:enterprise_linux:8::appstream
before 0:5.0.203-1.el8_4
0:5.0.203-1.el8_4
dotnet5.0
Red Hat:enterprise_linux:8::appstream
before 0:5.0.203-1.el8_4
0:5.0.203-1.el8_4
dotnet5.0-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:5.0.203-1.el8_4
0:5.0.203-1.el8_4
dotnet5.0-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:5.0.203-1.el8_4
0:5.0.203-1.el8_4
netstandard-targeting-pack-2.1
Red Hat:enterprise_linux:8::appstream
before 0:5.0.203-1.el8_4
0:5.0.203-1.el8_4
aspnetcore-runtime-3.1
Red Hat:enterprise_linux:8::appstream
before 0:3.1.15-1.el8_4
0:3.1.15-1.el8_4
aspnetcore-targeting-pack-3.1
Red Hat:enterprise_linux:8::appstream
before 0:3.1.15-1.el8_4
0:3.1.15-1.el8_4
dotnet-apphost-pack-3.1
Red Hat:enterprise_linux:8::appstream
before 0:3.1.15-1.el8_4
0:3.1.15-1.el8_4
dotnet-apphost-pack-3.1-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:3.1.15-1.el8_4
0:3.1.15-1.el8_4
dotnet-hostfxr-3.1
Red Hat:enterprise_linux:8::appstream
before 0:3.1.15-1.el8_4
0:3.1.15-1.el8_4
dotnet-hostfxr-3.1-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:3.1.15-1.el8_4
0:3.1.15-1.el8_4
dotnet-runtime-3.1
Red Hat:enterprise_linux:8::appstream
before 0:3.1.15-1.el8_4
0:3.1.15-1.el8_4
dotnet-runtime-3.1-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:3.1.15-1.el8_4
0:3.1.15-1.el8_4
dotnet-sdk-3.1
Red Hat:enterprise_linux:8::appstream
before 0:3.1.115-1.el8_4
0:3.1.115-1.el8_4
dotnet-sdk-3.1-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:3.1.115-1.el8_4
0:3.1.115-1.el8_4
dotnet-targeting-pack-3.1
Red Hat:enterprise_linux:8::appstream
before 0:3.1.15-1.el8_4
0:3.1.15-1.el8_4
dotnet-templates-3.1
Red Hat:enterprise_linux:8::appstream
before 0:3.1.115-1.el8_4
0:3.1.115-1.el8_4
dotnet3.1
Red Hat:enterprise_linux:8::appstream
before 0:3.1.115-1.el8_4
0:3.1.115-1.el8_4
dotnet3.1-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:3.1.115-1.el8_4
0:3.1.115-1.el8_4
dotnet3.1-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:3.1.115-1.el8_4
0:3.1.115-1.el8_4

History

History
RecordedChangedSources
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-31204 is a high vulnerability (CVSS 7.3) in Microsoft .net, published May 11, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.19%, the 68th percentile. Fixed in dotnet 5.0.6.

References

Show 16 moreShow less
MoveEnter Open