CVE-2023-21808

.NET and Visual Studio Remote Code Execution Vulnerability

7.8 high EPSS 1.18%

Published 14 Feb 2023 Updated 19 Aug 2026 CNA: microsoft

Description

.NET and Visual Studio Remote Code Execution Vulnerability

Severity (CVSS)

7.8 high CVSS 3.1 from microsoft (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 68.5% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 28 Feb 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
.NET 6.0
affected from 6.0.0, before 6.0.14
.NET 7.0
affected from 7.0.0, before 7.0.3
Microsoft .NET Framework 3.5 and 4.6.2
affected from 4.7.0, before 10.0.10240.19747
Microsoft .NET Framework 3.5 AND 4.7.2
affected from 4.7.0, before 10.0.04038.03
Microsoft .NET Framework 3.5 AND 4.8
affected from 4.8.0, before 10.0.04614.06
Microsoft .NET Framework 3.5 AND 4.8.1
affected from 4.8.1, before 10.0.09139.02
Microsoft .NET Framework 4.6.2
affected from 4.7.0, before 4.7.04038.06
Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2
affected from 4.7.0, before 4.7.04614.08
Microsoft .NET Framework 4.8
affected from 4.8.0, before 4.8.04614.05
Microsoft Visual Studio 2013 Update 5
affected from 12.0.0, before 12.0.40700.0
Microsoft Visual Studio 2015 Update 3
affected from 14.0.0, before 14.0.27555.0
Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)
affected from 15.9.0, before 15.9.52
Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)
affected from 16.11.0, before 16.11.24
Microsoft Visual Studio 2022 version 17.0
affected from 17.0.0, before 17.0.19
Microsoft Visual Studio 2022 version 17.2
affected from 17.2.0, before 17.2.13
Microsoft Visual Studio 2022 version 17.4
affected from 17.4.0, before 17.4.5
PowerShell 7.2
affected from 7.2.0, before 7.2.10

Is my server affected?

This CVE is in .NET 6.0 of Microsoft, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Source: the record CVE-2023-21808 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.