High
Security advisory
.NET and Visual Studio Elevation of Privilege Vulnerability
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-31204
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:01 UTC · Revision 1
Source evidence
.NET and Visual Studio Elevation of Privilege Vulnerability
osv:CVE-2021-31204
Complete source record
{
"id": "ef97da7480f806bc5592a1874fe6a25cdfe91b67e8c35047ab4b387dce4b43c2",
"url": "https://osv.dev/vulnerability/CVE-2021-31204",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-31204",
"summary": ".NET and Visual Studio Elevation of Privilege Vulnerability",
"evidence": "osv:CVE-2021-31204",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-31204",
"aliases": [
"BIT-dotnet-2021-31204",
"BIT-dotnet-sdk-2021-31204",
"CVE-2021-31204"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/dotnet/core",
"type": "GIT",
"events": [
{
"introduced": "62bcac3998e1168f4a34b775a06d6451b5ffca7b"
},
{
"last_affected": "f248b40c185672a063fac81d0d69be2658586d4c"
},
{
"introduced": "5c0a0489d157ca82fca6f9b73c682f118e8c4a8a"
},
{
"last_affected": "eee68008af483cc3f273ce53fa9919c53d32d410"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0"
},
{
"last_affected": "5.0.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:microsoft:.net_core:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.1"
},
{
"last_affected": "3.1.14"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v5.0.5",
"v6.0.0-preview.2",
"v5.0.4",
"v3.1.13",
"v6.0.0-preview.1",
"v5.0.3",
"v3.1.12",
"v2.1.25",
"v5.0.2",
"v3.1.11",
"v2.1.24",
"v5.0.1",
"v5.0.0",
"v3.1.10"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31204.json"
}
}
],
"modified": "2026-10-24T10:31:01.744770565Z",
"provider": "osv",
"references": [
"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/6M7KL3KTHJVQNRA3CWFUTESQJARQEHSZ/",
"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/LFXJPQUYUITJMV75YN3XIGE3KKN5GOCU/",
"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/ZWF25Z3CZ6LYCOHZ7FPSFAQ426JUBUZ4/",
"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31204"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:microsoft:visual_studio_2019:*:*:*:*:*:*:*:*"
],
"vendor_product": "microsoft:visual_studio_2019",
"extracted_events": [
{
"range": [
{
"introduced": "16.0"
},
{
"fixed": "16.4.22"
},
{
"introduced": "16.5.0"
},
{
"fixed": "16.7.15"
},
{
"introduced": "16.8.0"
},
{
"fixed": "16.9.5"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "32"
},
{
"last_affected": "32"
},
{
"introduced": "33"
},
{
"last_affected": "33"
},
{
"introduced": "34"
},
{
"last_affected": "34"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:microsoft:visual_studio_2019:8.9:*:*:*:*:macos:*:*"
],
"vendor_product": "microsoft:visual_studio_2019",
"extracted_events": [
{
"range": [
{
"introduced": "8.9"
},
{
"last_affected": "8.9"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-31204",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 439863,
"published_at": "2021-05-11T19:15:10.327+00:00"
}