Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-31204

dotnet: .NET Core single-file application privilege escalation

Overview

Published
11 May 2021
Modified
7 Oct 2026
High CVE
2 Registry packages
42 OS packages
3 Linux distributions
Yes Fix available

Description

.NET and Visual Studio Elevation of Privilege Vulnerability

Source: OX vulnerability database

Severity

7.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-269

Affected packages · 2

Packages affected by CVE-2021-31204
EcosystemPackageVulnerableFixed in
Bitnami dotnet >=5.0.0, <5.0.6 5.0.6
Bitnami dotnet-sdk >=5.0.0, <5.0.6 5.0.6

Open a package to see all its vulnerabilities.

Operating systems · 13 fixes

Oracle Linux 1 release · 4 packages

fixed 4
dotnet-sdk-3-1 aspnetcore-runtime-3-1 dotnet aspnetcore-runtime-5-0
Oracle Linux fixes for CVE-2021-31204
ReleasePackageFixed in
8 dotnet-sdk-3-1 +1 3.1.115-1.0.1.el8_4
8 aspnetcore-runtime-3-1 +5 3.1.15-1.0.1.el8_4
8 dotnet +3 5.0.203-1.0.1.el8_4
8 aspnetcore-runtime-5-0 +6 5.0.6-1.0.1.el8_4

Photon OS 1 release · 1 package

fixed 1
dotnet-sdk-977e29
Photon OS fixes for CVE-2021-31204
ReleasePackageFixed in
4.0 dotnet-sdk-977e29 6.0.428-1.ph4

Red Hat 2 releases · 8 packages

fixed 8
rh-dotnet31-dotnet rh-dotnet31-aspnetcore-runtime-3-1 rh-dotnet50-dotnet rh-dotnet50-aspnetcore-runtime-5-0 dotnet-sdk-3-1 aspnetcore-runtime-3-1 +2
Red Hat fixes for CVE-2021-31204
ReleasePackageFixed inAdvisory
7 rh-dotnet31-dotnet +3 0:3.1.115-1.el7_9 RHSA-2021:1547
7 rh-dotnet31-aspnetcore-runtime-3-1 +6 0:3.1.15-1.el7_9 RHSA-2021:1547
7 rh-dotnet50-dotnet +3 0:5.0.203-1.el7_9 RHSA-2021:1546
7 rh-dotnet50-aspnetcore-runtime-5-0 +6 0:5.0.6-1.el7_9 RHSA-2021:1546
8 dotnet-sdk-3-1 +1 0:3.1.115-1.el8_4 RHSA-2021:2037
8 aspnetcore-runtime-3-1 +5 0:3.1.15-1.el8_4 RHSA-2021:2037

2 more rows

References

Show all 14 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.