CVE-2021-31204.NET and Visual Studio Elevation of Privilege Vulnerability
.NET and Visual Studio Elevation of Privilege Vulnerability
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-3.1 | Fixed | 0:3.1.15-1.el8_4 | RHSA-2021:2037 |
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-5.0 | Fixed | 0:5.0.6-1.el8_4 | RHSA-2021:2036 |
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-3.1 | Fixed | 0:3.1.15-1.el8_4 | RHSA-2021:2037 |
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-5.0 | Fixed | 0:5.0.6-1.el8_4 | RHSA-2021:2036 |
| Red Hat Enterprise Linux 8 | dotnet | Fixed | 0:5.0.203-1.el8_4 | RHSA-2021:2036 |
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-3.1 | Fixed | 0:3.1.15-1.el8_4 | RHSA-2021:2037 |
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-5.0 | Fixed | 0:5.0.6-1.el8_4 | RHSA-2021:2036 |
| Red Hat Enterprise Linux 8 | dotnet-host | Fixed | 0:5.0.6-1.el8_4 | RHSA-2021:2036 |
| Red Hat Enterprise Linux 8 | dotnet-host-fxr-2.1 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-3.1 | Fixed | 0:3.1.15-1.el8_4 | RHSA-2021:2037 |
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-5.0 | Fixed | 0:5.0.6-1.el8_4 | RHSA-2021:2036 |
| Red Hat Enterprise Linux 8 | dotnet-runtime-2.1 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-3.1 | Fixed | 0:3.1.15-1.el8_4 | RHSA-2021:2037 |
| Red Hat Enterprise Linux 8 | dotnet-runtime-5.0 | Fixed | 0:5.0.6-1.el8_4 | RHSA-2021:2036 |
| Red Hat Enterprise Linux 8 | dotnet-sdk-2.1 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-2.1.5xx | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-3.1 | Fixed | 0:3.1.115-1.el8_4 | RHSA-2021:2037 |
| Red Hat Enterprise Linux 8 | dotnet-sdk-5.0 | Fixed | 0:5.0.203-1.el8_4 | RHSA-2021:2036 |
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-3.1 | Fixed | 0:3.1.15-1.el8_4 | RHSA-2021:2037 |
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-5.0 | Fixed | 0:5.0.6-1.el8_4 | RHSA-2021:2036 |
| Red Hat Enterprise Linux 8 | dotnet-templates-3.1 | Fixed | 0:3.1.115-1.el8_4 | RHSA-2021:2037 |
| Red Hat Enterprise Linux 8 | dotnet-templates-5.0 | Fixed | 0:5.0.203-1.el8_4 | RHSA-2021:2036 |
| Red Hat Enterprise Linux 8 | dotnet3.1 | Fixed | 0:3.1.115-1.el8_4 | RHSA-2021:2037 |
| Red Hat Enterprise Linux 8 | dotnet5.0 | Fixed | 0:5.0.203-1.el8_4 | RHSA-2021:2036 |
| Red Hat Enterprise Linux 8 | netstandard-targeting-pack-2.1 | Fixed | 0:5.0.203-1.el8_4 | RHSA-2021:2036 |
What the vendor says
As published in the CVE record by microsoft, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Microsoft .NET Core 3.1: affected: 3.1 to before 3.1.15-servicing.21214.3; fixed in
3.1.15-servicing.21214.3 - Microsoft .NET 5.0: affected: 5.0.0 to before 5.0.6-servicing.21220.11; fixed in
5.0.6-servicing.21220.11 - Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8): affected: 15.0.0 to before publication
- Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3): affected: 16.0 to before publication
- Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6): affected: 16.0.0 to before publication
- Microsoft Visual Studio 2019 for Mac version 8.9: affected: 8.0 to before publication
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- 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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.