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

CVE-2021-31204 is fixed in 19 products on 1 platform, first by RHSA-2021:2037, released May 19, 2021. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-31204
- Priority: High
- CVSS: 7.8 (Important)
- EPSS: 0.0119
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: yes
- Vendor exploitability assessment: Exploitation Less Likely
- Published: May 11, 2021
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-31204

## Description

ELSA-2021-2037: dotnet3.1 security and bugfix update (IMPORTANT)

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | aspnetcore-runtime-3.1 RHEL 8 | 0:3.1.15-1.el8_4 | [RHSA-2021:2037](https://patchblox.com/security/data/fix/linux/rhsa-2021-2037.md) | May 19, 2021 |
| Linux | aspnetcore-runtime-3.1 ol 8 | 0:3.1.15-1.0.1.el8_4 | [ELSA-2021-2037](https://patchblox.com/security/data/fix/linux/elsa-2021-2037.md) | May 29, 2021 |
| Linux | aspnetcore-runtime-5.0 RHEL 8 | 0:5.0.6-1.el8_4 | [RHSA-2021:2036](https://patchblox.com/security/data/fix/linux/rhsa-2021-2036.md) | May 19, 2021 |
| Linux | aspnetcore-runtime-5.0 ol 8 | 0:5.0.6-1.0.1.el8_4 | [ELSA-2021-2036](https://patchblox.com/security/data/fix/linux/elsa-2021-2036.md) | May 29, 2021 |
| Linux | aspnetcore-targeting-pack-3.1 RHEL 8 | 0:3.1.15-1.el8_4 | [RHSA-2021:2037](https://patchblox.com/security/data/fix/linux/rhsa-2021-2037.md) | May 19, 2021 |
| Linux | aspnetcore-targeting-pack-3.1 ol 8 | 0:3.1.15-1.0.1.el8_4 | [ELSA-2021-2037](https://patchblox.com/security/data/fix/linux/elsa-2021-2037.md) | May 29, 2021 |
| Linux | aspnetcore-targeting-pack-5.0 RHEL 8 | 0:5.0.6-1.el8_4 | [RHSA-2021:2036](https://patchblox.com/security/data/fix/linux/rhsa-2021-2036.md) | May 19, 2021 |
| Linux | aspnetcore-targeting-pack-5.0 ol 8 | 0:5.0.6-1.0.1.el8_4 | [ELSA-2021-2036](https://patchblox.com/security/data/fix/linux/elsa-2021-2036.md) | May 29, 2021 |
| Linux | dotnet RHEL 8 | 0:5.0.203-1.el8_4 | [RHSA-2021:2036](https://patchblox.com/security/data/fix/linux/rhsa-2021-2036.md) | May 19, 2021 |
| Linux | dotnet ol 8 | 0:5.0.203-1.0.1.el8_4 | [ELSA-2021-2036](https://patchblox.com/security/data/fix/linux/elsa-2021-2036.md) | May 29, 2021 |
| Linux | dotnet-apphost-pack-3.1 RHEL 8 | 0:3.1.15-1.el8_4 | [RHSA-2021:2037](https://patchblox.com/security/data/fix/linux/rhsa-2021-2037.md) | May 19, 2021 |
| Linux | dotnet-apphost-pack-3.1 ol 8 | 0:3.1.15-1.0.1.el8_4 | [ELSA-2021-2037](https://patchblox.com/security/data/fix/linux/elsa-2021-2037.md) | May 29, 2021 |
| Linux | dotnet-apphost-pack-5.0 RHEL 8 | 0:5.0.6-1.el8_4 | [RHSA-2021:2036](https://patchblox.com/security/data/fix/linux/rhsa-2021-2036.md) | May 19, 2021 |
| Linux | dotnet-apphost-pack-5.0 ol 8 | 0:5.0.6-1.0.1.el8_4 | [ELSA-2021-2036](https://patchblox.com/security/data/fix/linux/elsa-2021-2036.md) | May 29, 2021 |
| Linux | dotnet-host RHEL 8 | 0:5.0.6-1.el8_4 | [RHSA-2021:2036](https://patchblox.com/security/data/fix/linux/rhsa-2021-2036.md) | May 19, 2021 |
| Linux | dotnet-host ol 8 | 0:5.0.6-1.0.1.el8_4 | [ELSA-2021-2036](https://patchblox.com/security/data/fix/linux/elsa-2021-2036.md) | May 29, 2021 |
| Linux | dotnet-hostfxr-3.1 RHEL 8 | 0:3.1.15-1.el8_4 | [RHSA-2021:2037](https://patchblox.com/security/data/fix/linux/rhsa-2021-2037.md) | May 19, 2021 |
| Linux | dotnet-hostfxr-3.1 ol 8 | 0:3.1.15-1.0.1.el8_4 | [ELSA-2021-2037](https://patchblox.com/security/data/fix/linux/elsa-2021-2037.md) | May 29, 2021 |
| Linux | dotnet-hostfxr-5.0 RHEL 8 | 0:5.0.6-1.el8_4 | [RHSA-2021:2036](https://patchblox.com/security/data/fix/linux/rhsa-2021-2036.md) | May 19, 2021 |
| Linux | dotnet-hostfxr-5.0 ol 8 | 0:5.0.6-1.0.1.el8_4 | [ELSA-2021-2036](https://patchblox.com/security/data/fix/linux/elsa-2021-2036.md) | May 29, 2021 |
| Linux | dotnet-runtime-3.1 RHEL 8 | 0:3.1.15-1.el8_4 | [RHSA-2021:2037](https://patchblox.com/security/data/fix/linux/rhsa-2021-2037.md) | May 19, 2021 |
| Linux | dotnet-runtime-3.1 ol 8 | 0:3.1.15-1.0.1.el8_4 | [ELSA-2021-2037](https://patchblox.com/security/data/fix/linux/elsa-2021-2037.md) | May 29, 2021 |
| Linux | dotnet-runtime-5.0 RHEL 8 | 0:5.0.6-1.el8_4 | [RHSA-2021:2036](https://patchblox.com/security/data/fix/linux/rhsa-2021-2036.md) | May 19, 2021 |
| Linux | dotnet-runtime-5.0 ol 8 | 0:5.0.6-1.0.1.el8_4 | [ELSA-2021-2036](https://patchblox.com/security/data/fix/linux/elsa-2021-2036.md) | May 29, 2021 |
| Linux | dotnet-sdk-3.1 RHEL 8 | 0:3.1.115-1.el8_4 | [RHSA-2021:2037](https://patchblox.com/security/data/fix/linux/rhsa-2021-2037.md) | May 19, 2021 |
| Linux | dotnet-sdk-3.1 ol 8 | 0:3.1.115-1.0.1.el8_4 | [ELSA-2021-2037](https://patchblox.com/security/data/fix/linux/elsa-2021-2037.md) | May 29, 2021 |
| Linux | dotnet-sdk-5.0 RHEL 8 | 0:5.0.203-1.el8_4 | [RHSA-2021:2036](https://patchblox.com/security/data/fix/linux/rhsa-2021-2036.md) | May 19, 2021 |
| Linux | dotnet-sdk-5.0 ol 8 | 0:5.0.203-1.0.1.el8_4 | [ELSA-2021-2036](https://patchblox.com/security/data/fix/linux/elsa-2021-2036.md) | May 29, 2021 |
| Linux | dotnet-targeting-pack-3.1 RHEL 8 | 0:3.1.15-1.el8_4 | [RHSA-2021:2037](https://patchblox.com/security/data/fix/linux/rhsa-2021-2037.md) | May 19, 2021 |
| Linux | dotnet-targeting-pack-3.1 ol 8 | 0:3.1.15-1.0.1.el8_4 | [ELSA-2021-2037](https://patchblox.com/security/data/fix/linux/elsa-2021-2037.md) | May 29, 2021 |
| Linux | dotnet-targeting-pack-5.0 RHEL 8 | 0:5.0.6-1.el8_4 | [RHSA-2021:2036](https://patchblox.com/security/data/fix/linux/rhsa-2021-2036.md) | May 19, 2021 |
| Linux | dotnet-targeting-pack-5.0 ol 8 | 0:5.0.6-1.0.1.el8_4 | [ELSA-2021-2036](https://patchblox.com/security/data/fix/linux/elsa-2021-2036.md) | May 29, 2021 |
| Linux | dotnet-templates-3.1 RHEL 8 | 0:3.1.115-1.el8_4 | [RHSA-2021:2037](https://patchblox.com/security/data/fix/linux/rhsa-2021-2037.md) | May 19, 2021 |
| Linux | dotnet-templates-3.1 ol 8 | 0:3.1.115-1.0.1.el8_4 | [ELSA-2021-2037](https://patchblox.com/security/data/fix/linux/elsa-2021-2037.md) | May 29, 2021 |
| Linux | dotnet-templates-5.0 RHEL 8 | 0:5.0.203-1.el8_4 | [RHSA-2021:2036](https://patchblox.com/security/data/fix/linux/rhsa-2021-2036.md) | May 19, 2021 |
| Linux | dotnet-templates-5.0 ol 8 | 0:5.0.203-1.0.1.el8_4 | [ELSA-2021-2036](https://patchblox.com/security/data/fix/linux/elsa-2021-2036.md) | May 29, 2021 |
| Linux | netstandard-targeting-pack-2.1 RHEL 8 | 0:5.0.203-1.el8_4 | [RHSA-2021:2036](https://patchblox.com/security/data/fix/linux/rhsa-2021-2036.md) | May 19, 2021 |
| Linux | netstandard-targeting-pack-2.1 ol 8 | 0:5.0.203-1.0.1.el8_4 | [ELSA-2021-2036](https://patchblox.com/security/data/fix/linux/elsa-2021-2036.md) | May 29, 2021 |

---

Data as of 2026-11-11T01:43:54Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
