Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-31204

published high CVSS 3.1 · 7.3

.NET and Visual Studio Elevation of Privilege Vulnerability

Published
11 May 2021, 19:11:40 UTC
Updated
07 Oct 2026, 16:11:08 UTC
Language
en-US

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Microsoft — .NET Core 3.13.1 to < 3.1.15-servicing.21214.3 · Platforms: Unknown Affected Not stated microsoft
Microsoft — .NET 5.05.0.0 to < 5.0.6-servicing.21220.11 · Platforms: Unknown Affected Not stated microsoft
Microsoft — Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)15.0.0 to < publication · Platforms: Unknown Affected Not stated microsoft
Microsoft — Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3)16.0 to < publication · Platforms: Unknown Affected Not stated microsoft
Oracle Linux 8 aspnetcore-runtime-3.1x86_64 Advisory build 0:3.1.15-1.0.1.el8_4 ELSA-2021-2037
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-aspnetcore-runtime-3.1x86_64 Advisory build 3.1.15-1.el7_9 RHSA-2021:1547
Oracle Linux 8 aspnetcore-runtime-5.0x86_64 Advisory build 0:5.0.6-1.0.1.el8_4 ELSA-2021-2036
Oracle Linux 8 aspnetcore-targeting-pack-3.1x86_64 Advisory build 0:3.1.15-1.0.1.el8_4 ELSA-2021-2037
Show 77 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Microsoft — Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)16.0.0 to < publication · Platforms: Unknown Affected Not stated microsoft
Microsoft — Visual Studio 2019 for Mac version 8.98.0 to < publication · Platforms: Unknown Affected Not stated microsoft
Oracle Linux 8 aspnetcore-targeting-pack-5.0x86_64 Advisory build 0:5.0.6-1.0.1.el8_4 ELSA-2021-2036
Oracle Linux 8 dotnetx86_64 Advisory build 0:5.0.203-1.0.1.el8_4 ELSA-2021-2036
Oracle Linux 8 dotnet-apphost-pack-3.1x86_64 Advisory build 0:3.1.15-1.0.1.el8_4 ELSA-2021-2037
Oracle Linux 8 dotnet-apphost-pack-5.0x86_64 Advisory build 0:5.0.6-1.0.1.el8_4 ELSA-2021-2036
Oracle Linux 8 dotnet-hostx86_64 Advisory build 0:5.0.6-1.0.1.el8_4 ELSA-2021-2036
Oracle Linux 8 dotnet-hostfxr-3.1x86_64 Advisory build 0:3.1.15-1.0.1.el8_4 ELSA-2021-2037
Oracle Linux 8 dotnet-hostfxr-5.0x86_64 Advisory build 0:5.0.6-1.0.1.el8_4 ELSA-2021-2036
Oracle Linux 8 dotnet-runtime-3.1x86_64 Advisory build 0:3.1.15-1.0.1.el8_4 ELSA-2021-2037
Oracle Linux 8 dotnet-runtime-5.0x86_64 Advisory build 0:5.0.6-1.0.1.el8_4 ELSA-2021-2036
Oracle Linux 8 dotnet-sdk-3.1x86_64 Advisory build 0:3.1.115-1.0.1.el8_4 ELSA-2021-2037
Oracle Linux 8 dotnet-sdk-5.0x86_64 Advisory build 0:5.0.203-1.0.1.el8_4 ELSA-2021-2036
Oracle Linux 8 dotnet-targeting-pack-3.1x86_64 Advisory build 0:3.1.15-1.0.1.el8_4 ELSA-2021-2037
Oracle Linux 8 dotnet-targeting-pack-5.0x86_64 Advisory build 0:5.0.6-1.0.1.el8_4 ELSA-2021-2036
Oracle Linux 8 dotnet-templates-3.1x86_64 Advisory build 0:3.1.115-1.0.1.el8_4 ELSA-2021-2037
Oracle Linux 8 dotnet-templates-5.0x86_64 Advisory build 0:5.0.203-1.0.1.el8_4 ELSA-2021-2036
Oracle Linux 8 netstandard-targeting-pack-2.1x86_64 Advisory build 0:5.0.203-1.0.1.el8_4 ELSA-2021-2036
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-aspnetcore-targeting-pack-3.1x86_64 Advisory build 3.1.15-1.el7_9 RHSA-2021:1547
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-dotnetsrc Advisory build 3.1.115-1.el7_9 RHSA-2021:1547
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-dotnetx86_64 Advisory build 3.1.115-1.el7_9 RHSA-2021:1547
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-dotnet-apphost-pack-3.1x86_64 Advisory build 3.1.15-1.el7_9 RHSA-2021:1547
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-dotnet-debuginfox86_64 Advisory build 3.1.115-1.el7_9 RHSA-2021:1547
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-dotnet-hostx86_64 Advisory build 3.1.15-1.el7_9 RHSA-2021:1547
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-dotnet-hostfxr-3.1x86_64 Advisory build 3.1.15-1.el7_9 RHSA-2021:1547
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-dotnet-runtime-3.1x86_64 Advisory build 3.1.15-1.el7_9 RHSA-2021:1547
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-dotnet-sdk-3.1x86_64 Advisory build 3.1.115-1.el7_9 RHSA-2021:1547
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-dotnet-targeting-pack-3.1x86_64 Advisory build 3.1.15-1.el7_9 RHSA-2021:1547
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-dotnet-templates-3.1x86_64 Advisory build 3.1.115-1.el7_9 RHSA-2021:1547
Red Hat Enterprise Linux RHEL-7 rh-dotnet31-netstandard-targeting-pack-2.1x86_64 Advisory build 3.1.115-1.el7_9 RHSA-2021:1547
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-aspnetcore-runtime-5.0x86_64 Advisory build 5.0.6-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-aspnetcore-targeting-pack-5.0x86_64 Advisory build 5.0.6-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-dotnetsrc Advisory build 5.0.203-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-dotnetx86_64 Advisory build 5.0.203-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-dotnet-apphost-pack-5.0x86_64 Advisory build 5.0.6-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-dotnet-debuginfox86_64 Advisory build 5.0.203-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-dotnet-hostx86_64 Advisory build 5.0.6-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-dotnet-hostfxr-5.0x86_64 Advisory build 5.0.6-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-dotnet-runtime-5.0x86_64 Advisory build 5.0.6-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-dotnet-sdk-5.0x86_64 Advisory build 5.0.203-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-dotnet-targeting-pack-5.0x86_64 Advisory build 5.0.6-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-dotnet-templates-5.0x86_64 Advisory build 5.0.203-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-7 rh-dotnet50-netstandard-targeting-pack-2.1x86_64 Advisory build 5.0.203-1.el7_9 RHSA-2021:1546
Red Hat Enterprise Linux RHEL-8 aspnetcore-runtime-3.1x86_64 Advisory build 3.1.15-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 aspnetcore-runtime-5.0x86_64 Advisory build 5.0.6-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 aspnetcore-targeting-pack-3.1x86_64 Advisory build 3.1.15-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 aspnetcore-targeting-pack-5.0x86_64 Advisory build 5.0.6-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnetx86_64 Advisory build 5.0.203-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet-apphost-pack-3.1x86_64 Advisory build 3.1.15-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet-apphost-pack-3.1-debuginfox86_64 Advisory build 3.1.15-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet-apphost-pack-5.0x86_64 Advisory build 5.0.6-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet-apphost-pack-5.0-debuginfox86_64 Advisory build 5.0.6-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet-hostx86_64 Advisory build 5.0.6-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet-host-debuginfox86_64 Advisory build 5.0.6-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet-hostfxr-3.1x86_64 Advisory build 3.1.15-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet-hostfxr-3.1-debuginfox86_64 Advisory build 3.1.15-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet-hostfxr-5.0x86_64 Advisory build 5.0.6-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet-hostfxr-5.0-debuginfox86_64 Advisory build 5.0.6-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet-runtime-3.1x86_64 Advisory build 3.1.15-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet-runtime-3.1-debuginfox86_64 Advisory build 3.1.15-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet-runtime-5.0x86_64 Advisory build 5.0.6-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet-runtime-5.0-debuginfox86_64 Advisory build 5.0.6-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet-sdk-3.1x86_64 Advisory build 3.1.115-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet-sdk-3.1-debuginfox86_64 Advisory build 3.1.115-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet-sdk-5.0x86_64 Advisory build 5.0.203-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet-sdk-5.0-debuginfox86_64 Advisory build 5.0.203-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet-targeting-pack-3.1x86_64 Advisory build 3.1.15-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet-targeting-pack-5.0x86_64 Advisory build 5.0.6-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet-templates-3.1x86_64 Advisory build 3.1.115-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet-templates-5.0x86_64 Advisory build 5.0.203-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet3.1src Advisory build 3.1.115-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet3.1-debuginfox86_64 Advisory build 3.1.115-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet3.1-debugsourcex86_64 Advisory build 3.1.115-1.el8_4 RHSA-2021:2037
Red Hat Enterprise Linux RHEL-8 dotnet5.0src Advisory build 5.0.203-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet5.0-debuginfox86_64 Advisory build 5.0.203-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 dotnet5.0-debugsourcex86_64 Advisory build 5.0.203-1.el8_4 RHSA-2021:2036
Red Hat Enterprise Linux RHEL-8 netstandard-targeting-pack-2.1x86_64 Advisory build 5.0.203-1.el8_4 RHSA-2021:2036

Description

.NET and Visual Studio Elevation of Privilege Vulnerability

en-US · microsoft · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.3 / 10
Severity
high
Provider
microsoft · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Scenarios
en-US: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Microsoft .NET Core 3.1 3.1 to < 3.1.15-servicing.21214.3 (affected · custom) microsoft · cna
Microsoft .NET 5.0 5.0.0 to < 5.0.6-servicing.21220.11 (affected · custom) microsoft · cna
Microsoft Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8) 15.0.0 to < publication (affected · custom) microsoft · cna
Microsoft Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3) 16.0 to < publication (affected · custom) microsoft · cna
Microsoft Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6) 16.0.0 to < publication (affected · custom) microsoft · cna
Microsoft Visual Studio 2019 for Mac version 8.9 8.0 to < publication (affected · custom) microsoft · cna

Weaknesses

2
  • Elevation of Privilege (microsoft · cna)
  • CWE-269 CWE-269 Improper Privilege Management (CISA-ADP · adp)

References

7
  • FEDORA-2021-721731dc86 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4F3VM3RMPE7PNNLLI3BPCSAXITQZCFCA/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: microsoft (cna), CVE (adp)
  • FEDORA-2021-13e3bd248f https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6M7KL3KTHJVQNRA3CWFUTESQJARQEHSZ/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: microsoft (cna), CVE (adp)
  • FEDORA-2021-a3c205f5b2 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FVMWZPF4FR6JPFSNAIDIUDULHZJBVCW6/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: microsoft (cna), CVE (adp)
  • FEDORA-2021-d551431950 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LFXJPQUYUITJMV75YN3XIGE3KKN5GOCU/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: microsoft (cna), CVE (adp)
  • FEDORA-2021-f25eb9e302 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UV4ITB3SUDGR23G7XALUVKFJMZERFUKF/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: microsoft (cna), CVE (adp)
  • FEDORA-2021-c06b64b5ee https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZWF25Z3CZ6LYCOHZ7FPSFAQ426JUBUZ4/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: microsoft (cna), CVE (adp)
  • https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31204 x_refsource_MISC, x_transferred Contributors: microsoft (cna), CVE (adp)

Provider assertions

3

microsoft · cna

.NET and Visual Studio Elevation of Privilege Vulnerability

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
d35ca4a1c552dafa1d8c4c47096ee05a75a7e7196592a46eceea45829fdcbb13
Ingested
07 Oct 2026, 22:33:40 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected