cve.bz

CVE-2021-31204 Improper Privilege Management

7.3 highEPSS 1.2%Fix available

High (7.3). EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
.NET and Visual Studio Elevation of Privilege Vulnerability

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-06-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-269 Improper Privilege Management
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-31204 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-31204?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-31204?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-31204 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-31204

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-31204](https://cve.bz/cve/badge/CVE-2021-31204.svg)](https://cve.bz/cve/CVE-2021-31204)

HTML:

<a href="https://cve.bz/cve/CVE-2021-31204"><img src="https://cve.bz/cve/badge/CVE-2021-31204.svg" alt="CVE-2021-31204"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Microsoft .NET Core 3.1from 3.1 before 3.1.15-servicing.21214.3
Microsoft .NET 5.0from 5.0.0 before 5.0.6-servicing.21220.11
Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)from 15.0.0 before publication
Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3)from 16.0 before publication
Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)from 16.0.0 before publication
Microsoft Visual Studio 2019 for Mac version 8.9from 8.0 before publication

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:8::appstreamdotnet, dotnet5.0, dotnet-sdk-5.0 and 5 more0:5.0.203-1.el8_4RHSA-2021:2036
Red Hatenterprise_linux:8::appstreamdotnet-host, dotnet-hostfxr-5.0, dotnet-runtime-5.0 and 8 more0:5.0.6-1.el8_4RHSA-2021:2036
Red Hatenterprise_linux:8::appstreamdotnet-hostfxr-3.1, dotnet-runtime-3.1, aspnetcore-runtime-3.1 and 6 more0:3.1.15-1.el8_4RHSA-2021:2037
Red Hatenterprise_linux:8::appstreamdotnet3.1, dotnet-sdk-3.1, dotnet3.1-debuginfo and 3 more0:3.1.115-1.el8_4RHSA-2021:2037
Red Hatrhel_dotnet:3.1::el7rh-dotnet31-dotnet, rh-dotnet31-dotnet-sdk-3.1, rh-dotnet31-dotnet-debuginfo and 2 more0:3.1.115-1.el7_9RHSA-2021:1547
Red Hatrhel_dotnet:3.1::el7rh-dotnet31-dotnet-host, rh-dotnet31-dotnet-hostfxr-3.1, rh-dotnet31-dotnet-runtime-3.1 and 4 more0:3.1.15-1.el7_9RHSA-2021:1547
Red Hatrhel_dotnet:5.0::el7rh-dotnet50-dotnet, rh-dotnet50-dotnet-sdk-5.0, rh-dotnet50-dotnet-debuginfo and 2 more0:5.0.203-1.el7_9RHSA-2021:1546
Red Hatrhel_dotnet:5.0::el7rh-dotnet50-dotnet-host, rh-dotnet50-dotnet-hostfxr-5.0, rh-dotnet50-dotnet-runtime-5.0 and 4 more0:5.0.6-1.el7_9RHSA-2021:1546

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
.NET Core on Red Hat Enterprise Linuxrh-dotnet31-dotnet-0:3.1.115-1.el7_9Fixed 2021-05-12RHSA-2021:1547
.NET Core on Red Hat Enterprise Linuxrh-dotnet50-dotnet-0:5.0.203-1.el7_9Fixed 2021-05-12RHSA-2021:1546
Red Hat Enterprise Linux 8dotnet5.0-0:5.0.203-1.el8_4Fixed 2021-05-19RHSA-2021:2036
Red Hat Enterprise Linux 8dotnet3.1-0:3.1.115-1.el8_4Fixed 2021-05-19RHSA-2021:2037
.NET Core 2.1 on Red Hat Enterprise Linuxrh-dotnet21Not affected
Red Hat Enterprise Linux 8dotnetNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-31204.

Attack patterns (CAPEC)

  • CAPEC-58 Restful Privilege Elevation Likelihood: High · Severity: High
  • CAPEC-122 Privilege Abuse Likelihood: High · Severity: Medium
  • CAPEC-233 Privilege Escalation

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON