CVE DatabaseCVE-2023-38180
한국어 권고문 →
CVE-2023-381807.5/HIGHCISA KEVCWE-400

Microsoft .NET and Visual Studio Remote Denial of Service Vulnerability (CVE-2023-38180) Analysis & Mitigation Guide

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
.net, visual studio
Published Date
2023-08-08
CVSS v3.1
7.5
HIGH
EPSS (30d)
14.1%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

.NET 6.0, .NET 7.0, ASP.NET Core, and Microsoft Visual Studio 2022 environments

Impact

Unauthenticated remote attackers can trigger resource exhaustion (CPU/Memory) via crafted HTTP requests, leading to a complete Denial of Service (DoS)

Mitigation

Immediately update the .NET SDK/Runtime and Visual Studio to the latest patched versions

Affected Products & Version Scope

.NET 6.0 (prior to 6.0.21), .NET 7.0 (prior to 7.0.10), ASP.NET Core, and Visual Studio 2022 (v17.2, v17.4, v17.6 unpatched versions)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Update your .NET SDK and Runtime to the latest secure versions on your host and container environments.

bash
# Update .NET SDK and Runtime on Linux (Ubuntu/Debian)
sudo apt-get update && sudo apt-get install --only-upgrade -y dotnet-sdk-6.0 dotnet-runtime-6.0 dotnet-sdk-7.0 dotnet-runtime-7.0

# Ensure Dockerfiles use the latest patched base images
# Example: mcr.microsoft.com/dotnet/aspnet:7.0-alpine

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, configure a reverse proxy (Nginx, IIS) or WAF to limit concurrent connections and request rates to mitigate potential DoS attempts.

nginx
# Nginx configuration to limit connection and request rates
limit_conn_zone $binary_remote_addr zone=addr:10m;
limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s;

server {
    listen 80;
    server_name app.local;
    
    location / {
        limit_conn addr 10;
        limit_req zone=one burst=20 nodelay;
        proxy_pass http://dotnet_backend_upstream;
    }
}

3. Log Audit & IoC Verification Commands

Verify the currently installed and running .NET versions on your system to identify vulnerable deployments.

powershell
# Check installed .NET Framework versions on Windows via PowerShell
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -Recurse |
  Get-ItemProperty -Name Version -ErrorAction SilentlyContinue |
  Select-Object PSChildName, Version

# Check installed .NET Core/5/6/7 runtimes
dotnet --list-runtimes
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Snyk Open Source & Container Security
Since this vulnerability is actively exploited in the wild (CISA KEV), immediately update all .NET runtimes and Visual Studio development environments to their latest patched versions.

Scan Your Repositories for Transitive Vulnerable Dependencies in 30 Seconds

Automatically detect vulnerable packages across npm, PyPI, Maven, and Go, and open automated fix Pull Requests without breaking your build.

Free Forever Tier · 1-Click GitHub/GitLab Auto-PR
Master DevSecOps: Automated SAST/SCA in GitHub Actions & Kubernetes
View Course Curriculum

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2023-38180) is a high-severity Denial of Service (DoS) vulnerability affecting Microsoft .NET and Visual Studio. The root cause lies in improper resource management (CWE-400) within the HTTP request processing pipeline. Specifically, when ASP.NET Core's Kestrel web server or HTTP/2 and HTTP/3 protocol handlers process specially crafted request streams, they fail to release allocated resources properly, leading to infinite loops or severe memory/CPU exhaustion.

2. Exploitation Mechanics & Attack Scenario

An attacker can exploit this vulnerability by sending a sequence of maliciously crafted HTTP requests or maintaining persistent, malformed streams to the target .NET web application. Because the server's protocol parser fails to handle these exceptions gracefully, a single thread can consume 100% CPU capacity, or memory leaks can occur that bypass Garbage Collection (GC). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

3. Infrastructure & Business Impact

Successful exploitation of this vulnerability immediately degrades or halts the availability of external-facing web services, API gateways, and microservices running on .NET containers. This can result in business disruption, SLA breaches, and unexpected cloud infrastructure costs due to auto-scaling triggers trying to handle the artificial resource spike.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2023-38180)

FAQ

Q1. How critical is CVE-2023-38180 and is it actively exploited in the wild?

CVE-2023-38180 is rated CVSS 7.5 (HIGH) with a 30-day EPSS exploitation probability of 14.1%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2023-38180?

Primary impacted vendors include microsoft across .net, visual studio. Scope summary: .NET 6.0 (prior to 6.0.21), .NET 7.0 (prior to 7.0.10), ASP.NET Core, and Visual Studio 2022 (v17.2, v17.4, v17.6 unpatched versions)

Q3. What temporary mitigations or workarounds exist for CVE-2023-38180 before patching?

[Mitigation] Immediately update the .NET SDK/Runtime and Visual Studio to the latest patched versions Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2023-38180

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2023-38180 Microsoft .NET and Visual Studio Remote Denial of Service Vulnerability (CVE-2023-38180) Analysis & Mitigation Guide (CVSS 7.5) - Patch & Workaround | CVE Pulse