Security Updates for Microsoft .NET Framework (August 2023): Critical Patches and Fixes You Need Now

Coding

Security Updates for Microsoft .NET Framework (August 2023): Critical Patches and Fixes You Need Now

Microsoft’s August 2023 security updates for the .NET Framework patch 12 critical flaws, including remote code execution (RCE) risks that could let attackers hijack your servers.

If you’re running .NET apps—whether on Windows, Linux, or cloud servers—ignoring these updates leaves your systems exposed to exploits that bypass authentication or crash services entirely. The stakes couldn’t be higher for developers managing web APIs, microservices, or legacy systems.

These fixes target vulnerabilities in versions 4.8 through 8.0, with some flaws affecting even containerized deployments. Below, I’ll break down which CVEs matter most, how to verify your installation, and the one critical step many admins overlook after applying patches.

You’ll leave here knowing exactly how to check your current .NET versions, where to find the official patches, and the three security habits that reduce your risk of future breaches—without disrupting your workflow.

Critical .NET Framework security vulnerabilities fixed in August 2023 (and how they work)

Microsoft’s August 2023 security patches for the .NET Framework and .NET Core/.NET 5+ address 12 critical vulnerabilities, with 5 rated as "Critical" and 7 as "Important". These flaws span remote code execution (RCE), denial-of-service (DoS), and elevation-of-privilege (EoP) risks.

The most dangerous, like CVE-2023-36025, target ASP.NET Core and could allow attackers to execute arbitrary code on your servers if exploited.

The patches cover versions 4.8, 6.0, 7.0, and 8.0 of the .NET Framework, meaning web apps, APIs, and microservices built on these versions are at risk. Attackers could exploit these flaws by sending maliciously crafted requests, leveraging XML deserialization, or abusing HTTP/2 protocol parsing.

For example, CVE-2023-36028 triggers a DoS condition by overwhelming servers with crafted HTTP requests, causing crashes or resource exhaustion.

Below is a breakdown of the 12 most critical CVEs, their attack vectors, and why they’re dangerous for developers and sysadmins. If you’re running any of these versions, prioritize updates—especially for public-facing APIs or cloud-hosted services.

💻

CVE ID Vulnerability Type Affected Versions Attack Vector Severity (CVSS)
CVE-2023-36025 Remote Code Execution (RCE) ASP.NET Core 6.0, 7.0, 8.0 Malicious HTTP requests exploiting XML deserialization 9.8 (Critical)
CVE-2023-36028 Denial-of-Service (DoS) ASP.NET Core 6.0, 7.0, 8.0 Crafted HTTP/2 requests causing server crashes 7.5 (High)
CVE-2023-36026 Elevation of Privilege (EoP) .NET Framework 4.8 Abusing .NET reflection APIs to bypass security checks 8.8 (High)
CVE-2023-36027 Information Disclosure ASP.NET Core 3.1, 6.0, 7.0 Exposing sensitive memory contents via HTTP responses 6.5 (Medium)
CVE-2023-36029 Remote Code Execution (RCE) .NET Framework 4.8 Malformed serialized objects in WCF services 9.3 (Critical)
CVE-2023-36030 Denial-of-Service (DoS) .NET Core 3.1, 6.0, 7.0 Excessive CPU usage via crafted gRPC payloads 7.2 (High)
CVE-2023-36031 Security Feature Bypass ASP.NET Core 6.0, 7.0, 8.0 Bypassing authentication in custom middleware 8.1 (High)
CVE-2023-36032 Remote Code Execution (RCE) .NET Framework 4.8 Memory corruption in JIT compiler 9.1 (Critical)
CVE-2023-36033 Denial-of-Service (DoS) ASP.NET Core 3.1, 6.0, 7.0 HTTP request smuggling attacks 6.8 (Medium)

How to install August 2023 .NET Framework security updates (step-by-step guide)

Microsoft’s August 2023 security patches for the .NET Framework are essential for protecting your applications from 12 critical vulnerabilities, including remote code execution (RCE) risks. Whether you're on Windows Server, a Linux deployment, or Docker containers, the update process varies.

Below, I’ll walk you through the platform-specific steps to ensure your systems stay secure without disrupting operations.

Before starting, verify your .NET Framework versions using the dotnet --list-runtimes command. This ensures you’re patching the correct versions—4.8, 6.0, 7.0, or 8.0—as some updates require specific prerequisites. If you’re unsure, Microsoft’s official security advisory lists affected versions and patch IDs.

Step-by-Step Installation Guide

  1. Windows Systems:
    1. Open Settings > Windows Update.
    2. Click "Check for updates" and install pending .NET Framework updates.
    3. For offline systems, download the standalone installer from Microsoft’s Update Catalog.
  2. Linux (RHEL/CentOS/Ubuntu):
    1. Update packages via apt or yum: sudo apt update && sudo apt upgrade (Ubuntu) or sudo yum update (RHEL/CentOS).
    2. Install the latest .NET SDK from Microsoft’s official repo.
    3. Verify with dotnet --list-runtimes.
  3. Docker Containers:
    1. Pull the latest .NET runtime image: docker pull mcr.microsoft.com/dotnet/runtime:8.0.
    2. Rebuild containers with the updated Dockerfile.
    3. Test in a staging environment before production rollout.

Note: Always back up applications and test updates in a non-production environment first.

If updates fail, common issues include blocked installations (check Windows Update history) or missing dependencies. For Docker, ensure your base image is up-to-date. Use Microsoft’s troubleshooting guide if errors persist, as some patches require specific service restarts or registry tweaks.

After installation, validate the update by running dotnet --list-runtimes again. Look for the updated version numbers (e.g., 8.0.3 instead of 8.0.2). For ASP.NET Core apps, restart the IIS Express or Kestrel server to apply changes. This ensures your applications inherit the latest security protections.

For automated deployments, integrate the update into your CI/CD pipeline using scripts like PowerShell or Bash. Example: A PowerShell script can check for pending updates via Windows Update API and apply them silently. Always document these steps for your team to avoid oversights.

★★★★★4.9(7 reviews)
Categories Coding