Heap-based buffer overflow in .NET and Visual Studio - CVE-2024-30045

 

Heap-based buffer overflow in .NET and Visual Studio - CVE-2024-30045

Published: May 14, 2024


Vulnerability identifier: #VU89431
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-30045
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in .NET and Visual Studio. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

.NET
INTRALOG WMS
Visual Studio
Red Hat Enterprise Linux for Power, little endian
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Ubuntu
aspnetcore-runtime-7.0 (Ubuntu package)
dotnet-host-7.0 (Ubuntu package)
dotnet-hostfxr-7.0 (Ubuntu package)
dotnet-runtime-7.0 (Ubuntu package)
dotnet-sdk-7.0 (Ubuntu package)
dotnet7 (Ubuntu package)
dotnet7.0 (Red Hat package)
dotnet-hostfxr-8.0 (Ubuntu package)
dotnet-host-8.0 (Ubuntu package)
dotnet-runtime-8.0 (Ubuntu package)
aspnetcore-runtime-8.0 (Ubuntu package)
dotnet-sdk-8.0 (Ubuntu package)
dotnet8.0 (Red Hat package)
dotnet8 (Ubuntu package)

How to mitigate CVE-2024-30045

Install updates from vendor's website.

INTRALOG WMS - update to 4
aspnetcore-runtime-7.0 (Ubuntu package) - addressed in versions 7.0.119-0ubuntu1~22.04.1, 7.0.119-0ubuntu1~23.10.1
dotnet-host-7.0 (Ubuntu package) - addressed in versions 7.0.119-0ubuntu1~22.04.1, 7.0.119-0ubuntu1~23.10.1
dotnet-hostfxr-7.0 (Ubuntu package) - addressed in versions 7.0.119-0ubuntu1~22.04.1, 7.0.119-0ubuntu1~23.10.1
dotnet-runtime-7.0 (Ubuntu package) - addressed in versions 7.0.119-0ubuntu1~22.04.1, 7.0.119-0ubuntu1~23.10.1
dotnet-sdk-7.0 (Ubuntu package) - addressed in versions 7.0.119-0ubuntu1~22.04.1, 7.0.119-0ubuntu1~23.10.1
dotnet7 (Ubuntu package) - addressed in versions 7.0.119-0ubuntu1~22.04.1, 7.0.119-0ubuntu1~23.10.1
dotnet7.0 (Red Hat package) - addressed in versions 7.0.119-1.el8_10, 7.0.119-1.el9_4
dotnet-hostfxr-8.0 (Ubuntu package) - addressed in versions 8.0.5-0ubuntu1~22.04.1, 8.0.5-0ubuntu1~23.10.1, 8.0.5-0ubuntu1~24.04.1
dotnet-host-8.0 (Ubuntu package) - addressed in versions 8.0.5-0ubuntu1~22.04.1, 8.0.5-0ubuntu1~23.10.1, 8.0.5-0ubuntu1~24.04.1
dotnet-runtime-8.0 (Ubuntu package) - addressed in versions 8.0.5-0ubuntu1~22.04.1, 8.0.5-0ubuntu1~23.10.1, 8.0.5-0ubuntu1~24.04.1
aspnetcore-runtime-8.0 (Ubuntu package) - addressed in versions 8.0.5-0ubuntu1~22.04.1, 8.0.5-0ubuntu1~23.10.1, 8.0.5-0ubuntu1~24.04.1
dotnet-sdk-8.0 (Ubuntu package) - addressed in versions 8.0.105-0ubuntu1~22.04.1, 8.0.105-0ubuntu1~23.10.1, 8.0.105-0ubuntu1~24.04.1
dotnet8.0 (Red Hat package) - addressed in versions 8.0.105-1.el8_10, 8.0.105-1.el9_4
dotnet8 (Ubuntu package) - addressed in versions 8.0.105-8.0.5-0ubuntu1~22.04.1, 8.0.105-8.0.5-0ubuntu1~23.10.1, 8.0.105-8.0.5-0ubuntu1~24.04.1

External References

Related Security Bulletins