Skip to content
Server Security Center
KEVhigh7.5

CVE-2023-38180: Microsoft .NET Core and Visual Studio Denial-of-Service

Microsoft .NET Core and Visual Studio · listed in the CISA catalog of actively exploited vulnerabilities since 2023-08-09.

CVSS v3.1 (CVE record)
7.5
high
EPSS (exploit probability, 30 days)
14%
higher than 96.6% of all CVEs
Added to CISA KEV
2023-08-09
US federal due date 2023-08-30
Ubuntu priority
medium

CVE-2023-38180 explained

CVE-2023-38180 is a denial-of-service vulnerability in Microsoft .NET Core and Visual Studio. On Ubuntu it affects the dotnet6 and dotnet7 packages. It matters because it can be triggered over the network without credentials. It is also listed in the CISA Known Exploited Vulnerabilities catalog, which means it has been exploited in practice.

Impact

A remote, unauthenticated attacker can make an affected .NET application or service unavailable. The attack needs no user interaction and has low complexity. Confidentiality and integrity are not affected; the impact is limited to availability, which is rated high. Network-facing .NET services are the most exposed.

Who is affected

On Ubuntu 22.04 LTS, two source packages are affected, and both have fixed versions in the standard archive. dotnet6 is fixed in 6.0.121-0ubuntu1~22.04.1. dotnet7 is fixed in 7.0.110-0ubuntu1~22.04.1. The facts list no other Ubuntu or Debian releases.

Written with AI from the data on this page and checked against it automatically.

Official description

.NET and Visual Studio Denial of Service Vulnerability

CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

CISA notes

Upstream versions (CVE record)

From the CVE record published by the vendor or CVE numbering authority.

  • Microsoft .NET 6.0
    Affected
    • < 6.0.21
    Fixed in
    • 6.0.21
  • Microsoft .NET 7.0
    Affected
    • < 7.0.10
    Fixed in
    • 7.0.10
  • Microsoft ASP.NET Core 2.1
    Affected
    • < 2.1.40
    Fixed in
    • 2.1.40
  • Microsoft Visual Studio 2022 version 17.2
    Affected
    • < 17.2.18
    Fixed in
    • 17.2.18
  • Microsoft Visual Studio 2022 version 17.4
    Affected
    • < 17.4.10
    Fixed in
    • 17.4.10
  • Microsoft Visual Studio 2022 version 17.6
    Affected
    • < 17.6.6
    Fixed in
    • 17.6.6

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

What to do

  1. Identify Ubuntu 22.04 LTS systems with dotnet6 or dotnet7 installed.
  2. Update dotnet6 to 6.0.121-0ubuntu1~22.04.1 or later.
  3. Update dotnet7 to 7.0.110-0ubuntu1~22.04.1 or later.
  4. Restart all .NET applications and services so they run the patched runtime.
  5. Prioritize internet-facing .NET services, because this CVE is listed as known exploited.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Run on each Ubuntu or Debian server. Replace dotnet6 with the source package from the table above (this CVE affects 2 source packages).

1. Show installed packages built from the source package, with their versions

dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="dotnet6"'

2. Compare each installed version with the fixed version for your release from the table

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the fix

sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="dotnet6"{print $1}')

Services keep running the old code until they are restarted – restart the affected service or check with needrestart.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Partial – limited control or information

Weakness: CWE-400 Uncontrolled Resource Consumption

Questions about CVE-2023-38180

Is this vulnerability being exploited?
Yes. CISA added CVE-2023-38180 to its Known Exploited Vulnerabilities catalog on 2023-08-09. The US federal due date was 2023-08-30. Whether it has been used in ransomware is unknown.
Do I need to reboot after updating?
A reboot is not required, because this is not a kernel fix. However, running .NET applications keep using the old runtime until they are restarted. Restart every service that uses dotnet6 or dotnet7.
Can this vulnerability expose data?
No. Based on the CVSS assessment, confidentiality and integrity are not affected. The impact is denial of service.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.