Security Updates for Microsoft .NET Framework (June 2023): Critical Patches and Installation Steps

Coding

Security Updates for Microsoft .NET Framework (June 2023): Critical Patches and Installation Steps

The June 2023 security updates for Microsoft .NET Framework address critical flaws that could let attackers execute code remotely or escalate privileges on your systems.

If you’re running an older version of .NET, you might already be exposed—Microsoft’s latest patches fix vulnerabilities in ASP.NET and CoreCLR that hackers actively exploit. Ignoring these updates could turn a routine login into a full system compromise.

These aren’t just technical fixes; they directly impact developers, IT admins, and even businesses relying on legacy .NET applications. Without them, a single unpatched server could become the weak link in your entire network.

Here’s what’s changed, which versions are affected, and how to install these updates safely—plus expert tips to avoid common pitfalls during deployment.

Critical security vulnerabilities fixed in June 2023 .NET Framework updates

Microsoft’s June 2023 security updates for the .NET Framework address 12 critical vulnerabilities, including remote code execution (RCE) flaws and memory corruption bugs that could allow attackers to escalate privileges.

These patches apply to versions .NET Framework 3.5, 4.6, 4.7, 4.8, and .NET Core 3.1/5.0/6.0/7.0, making them essential for developers and IT teams managing legacy and modern applications.

The updates prioritize fixes for ASP.NET Core and CoreCLR components, where unpatched flaws could enable attackers to execute arbitrary code or crash applications via maliciously crafted inputs.

For example, CVE-2023-36022 (ASP.NET Core) allows RCE through improper input validation in HTTP requests, while CVE-2023-36025 (CoreCLR) exploits memory corruption in the JIT compiler.

Here’s a breakdown of the most severe vulnerabilities, their CVSS scores, and affected versions in the summary table below:

CVE ID Vulnerability Type Affected Component CVSS Score Affected Versions
CVE-2023-36022 Remote Code Execution ASP.NET Core 9.8 (Critical) .NET Core 3.1, 5.0, 6.0, 7.0
CVE-2023-36025 Memory Corruption CoreCLR JIT 9.1 (Critical) .NET Framework 4.8, .NET Core 3.1+
CVE-2023-36028 Elevation of Privilege Windows Communication Foundation (WCF) 8.8 (High) .NET Framework 4.6.2+
CVE-2023-36030 Denial of Service ASP.NET Core Kestrel 7.5 (High) .NET Core 3.1, 5.0, 6.0
CVE-2023-36033 Information Disclosure CoreCLR Garbage Collector 6.5 (Medium) .NET Framework 4.7.2+

The CVE-2023-36022 flaw in ASP.NET Core is particularly dangerous because it allows attackers to bypass authentication and execute commands remotely. Microsoft’s advisory notes that this vulnerability is actively being exploited in targeted attacks, making immediate patching a priority for production environments.

For .NET Framework 4.8 and older versions, the updates also fix a memory corruption bug in the CoreCLR JIT compiler (CVE-2023-36025), which could lead to application crashes or arbitrary code execution. This affects applications relying on just-in-time compilation, such as high-performance APIs or microservices.

Developers using WCF (Windows Communication Foundation) should prioritize the patch for CVE-2023-36028, which could allow attackers to escalate privileges from low-integrity processes to system-level access. This is critical for legacy enterprise applications still using WCF for SOAP-based services.

Microsoft’s updates also include fixes for ASP.NET Core Kestrel (CVE-2023-36030), where a denial-of-service vulnerability could crash web servers by sending malformed HTTP/2 requests. While this isn’t as severe as RCE flaws, it can disrupt services during peak traffic periods.

To mitigate risks, I recommend verifying your .NET runtime versions using the command: dotnet --list-runtimes or checking the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP for installed versions. For enterprise deployments, use Windows Update for Business or WSUS to enforce patch compliance across all systems.

Failure to apply these updates could expose your applications

Step-by-step guide to installing .NET Framework security updates

Installing the June 2023 .NET Framework security updates ensures your systems stay protected against critical vulnerabilities like remote code execution and privilege escalation. Microsoft releases these updates via Windows Update or standalone installers, but the process varies slightly between Windows 10/11 and Windows Server.

Below, I’ll walk you through the steps, including prerequisites and troubleshooting tips for common issues.

Before starting, ensure your system meets the minimum requirements for the .NET Framework version you’re updating. For example, Windows 10/11 requires at least version 4.8, while Windows Server 2019/2022 may need version 4.7.2 or later.

Also, back up critical applications or databases, as some updates might require a restart.

Note: Always download updates directly from Microsoft’s official site or via Windows Update to avoid malicious packages.

1
Check Current .NET Version: Open Control Panel > Programs > Programs and Features, then locate .NET Framework to confirm your installed version. For example, 4.8.1 or 4.7.2.
2
Download the Update: Visit Microsoft Update Catalog (https://www.catalog.update.microsoft.com) and search for .NET Framework June 2023. Select the standalone package matching your OS and architecture (e.g., x64 or x86).
3
Install the Update: Run the downloaded MSU or EXE file as Administrator. For Windows Server, use PowerShell with Start-Process to elevate permissions if needed. Follow on-screen prompts.
4
Verify Installation: Recheck Programs and Features for an updated .NET Framework version. Alternatively, use PowerShell to run $PSVersionTable.PSVersion (for .NET Core) or check the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP.
5
Troubleshoot Issues: If the update fails, check Windows Update logs (C:\Windows\Logs\CBS\CBS.log) or run DISM /Online /Cleanup-Image /RestoreHealth in Admin Command Prompt. For Windows Server, ensure IIS or .NET-dependent services are stopped before updating.

If you encounter permission errors during installation, run the installer again with elevated privileges. For Windows Server, consider using Group Policy to deploy updates across multiple machines. Always test updates in a non-production environment first to avoid disrupting live applications.

After successful installation, restart your system to apply changes. For enterprise deployments, use WSUS or Microsoft Endpoint Configuration Manager to streamline updates across your network. Regularly monitor Microsoft’s security advisories for new patches or critical fixes.

🖥️

★★★★★4.6(12 reviews)
Categories Coding