Use-after-free in .NET and Visual Studio - CVE-2024-38229
Published: October 9, 2024
Vulnerability identifier: #VU98266
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-38229
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a use-after-free error in .NET and Visual Studio. A remote attacker can execute arbitrary code on the target system.
Affected software
.NET
Robotic Process Automation for Cloud Pak
Visual Studio
Oracle Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
Ubuntu
dotnet6 (Ubuntu package)
dotnet-sdk-6.0 (Ubuntu package)
dotnet-runtime-6.0 (Ubuntu package)
aspnetcore-runtime-6.0 (Ubuntu package)
dotnet-host (Ubuntu package)
dotnet-hostfxr-6.0 (Ubuntu package)
aspnetcore-runtime-8.0 (Ubuntu package)
dotnet-host-8.0 (Ubuntu package)
dotnet-hostfxr-8.0 (Ubuntu package)
dotnet-runtime-8.0 (Ubuntu package)
dotnet-sdk-8.0 (Ubuntu package)
dotnet8.0 (Red Hat package)
dotnet8 (Ubuntu package)
Robotic Process Automation for Cloud Pak
Visual Studio
Oracle Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
Ubuntu
dotnet6 (Ubuntu package)
dotnet-sdk-6.0 (Ubuntu package)
dotnet-runtime-6.0 (Ubuntu package)
aspnetcore-runtime-6.0 (Ubuntu package)
dotnet-host (Ubuntu package)
dotnet-hostfxr-6.0 (Ubuntu package)
aspnetcore-runtime-8.0 (Ubuntu package)
dotnet-host-8.0 (Ubuntu package)
dotnet-hostfxr-8.0 (Ubuntu package)
dotnet-runtime-8.0 (Ubuntu package)
dotnet-sdk-8.0 (Ubuntu package)
dotnet8.0 (Red Hat package)
dotnet8 (Ubuntu package)
How to mitigate CVE-2024-38229
Install updates from vendor's website.
dotnet6 (Ubuntu package) - update to 6.0.135-0ubuntu1~22.04.1
dotnet-sdk-6.0 (Ubuntu package) - update to 6.0.135-0ubuntu1~22.04.1
dotnet-runtime-6.0 (Ubuntu package) - update to 6.0.135-0ubuntu1~22.04.1
aspnetcore-runtime-6.0 (Ubuntu package) - update to 6.0.135-0ubuntu1~22.04.1
dotnet-host (Ubuntu package) - update to 6.0.135-0ubuntu1~22.04.1
dotnet-hostfxr-6.0 (Ubuntu package) - update to 6.0.135-0ubuntu1~22.04.1
aspnetcore-runtime-8.0 (Ubuntu package) - addressed in versions 8.0.10-0ubuntu1~22.04.1, 8.0.10-0ubuntu1~24.04.1
dotnet-host-8.0 (Ubuntu package) - addressed in versions 8.0.10-0ubuntu1~22.04.1, 8.0.10-0ubuntu1~24.04.1
dotnet-hostfxr-8.0 (Ubuntu package) - addressed in versions 8.0.10-0ubuntu1~22.04.1, 8.0.10-0ubuntu1~24.04.1
dotnet-runtime-8.0 (Ubuntu package) - addressed in versions 8.0.10-0ubuntu1~22.04.1, 8.0.10-0ubuntu1~24.04.1
dotnet-sdk-8.0 (Ubuntu package) - addressed in versions 8.0.110-0ubuntu1~22.04.1, 8.0.110-0ubuntu1~24.04.1
dotnet8.0 (Red Hat package) - addressed in versions 8.0.110-1.el8_10, 8.0.110-1.el9_4
dotnet8 (Ubuntu package) - addressed in versions 8.0.110-8.0.10-0ubuntu1~22.04.1, 8.0.110-8.0.10-0ubuntu1~24.04.1
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.19, 23.0.19
dotnet-sdk-6.0 (Ubuntu package) - update to 6.0.135-0ubuntu1~22.04.1
dotnet-runtime-6.0 (Ubuntu package) - update to 6.0.135-0ubuntu1~22.04.1
aspnetcore-runtime-6.0 (Ubuntu package) - update to 6.0.135-0ubuntu1~22.04.1
dotnet-host (Ubuntu package) - update to 6.0.135-0ubuntu1~22.04.1
dotnet-hostfxr-6.0 (Ubuntu package) - update to 6.0.135-0ubuntu1~22.04.1
aspnetcore-runtime-8.0 (Ubuntu package) - addressed in versions 8.0.10-0ubuntu1~22.04.1, 8.0.10-0ubuntu1~24.04.1
dotnet-host-8.0 (Ubuntu package) - addressed in versions 8.0.10-0ubuntu1~22.04.1, 8.0.10-0ubuntu1~24.04.1
dotnet-hostfxr-8.0 (Ubuntu package) - addressed in versions 8.0.10-0ubuntu1~22.04.1, 8.0.10-0ubuntu1~24.04.1
dotnet-runtime-8.0 (Ubuntu package) - addressed in versions 8.0.10-0ubuntu1~22.04.1, 8.0.10-0ubuntu1~24.04.1
dotnet-sdk-8.0 (Ubuntu package) - addressed in versions 8.0.110-0ubuntu1~22.04.1, 8.0.110-0ubuntu1~24.04.1
dotnet8.0 (Red Hat package) - addressed in versions 8.0.110-1.el8_10, 8.0.110-1.el9_4
dotnet8 (Ubuntu package) - addressed in versions 8.0.110-8.0.10-0ubuntu1~22.04.1, 8.0.110-8.0.10-0ubuntu1~24.04.1
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.19, 23.0.19