Input validation error in .NET and Visual Studio - CVE-2023-38178

 

Input validation error in .NET and Visual Studio - CVE-2023-38178

Published: August 8, 2023 / Updated: August 10, 2023


Vulnerability identifier: #VU79240
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-38178
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input in .NET Core and Visual Studio. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.


Affected software

.NET
Visual Studio
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)
dotnet7 (Ubuntu package)
dotnet-sdk-7.0 (Ubuntu package)
dotnet-runtime-7.0 (Ubuntu package)
dotnet-hostfxr-7.0 (Ubuntu package)
dotnet-host-7.0 (Ubuntu package)
aspnetcore-runtime-7.0 (Ubuntu package)

How to mitigate CVE-2023-38178

Install updates from vendor's website.

.NET - update to 6.0.21
Visual Studio - addressed in versions 17.2.18 17.2.33927.290, 17.4.10 17.4.33927.135
dotnet6 (Ubuntu package) - addressed in versions 6.0.121-0ubuntu1~22.04.1, 6.0.121-0ubuntu1~23.04.1
dotnet-sdk-6.0 (Ubuntu package) - addressed in versions 6.0.121-0ubuntu1~22.04.1, 6.0.121-0ubuntu1~23.04.1
dotnet-runtime-6.0 (Ubuntu package) - addressed in versions 6.0.121-0ubuntu1~22.04.1, 6.0.121-0ubuntu1~23.04.1
aspnetcore-runtime-6.0 (Ubuntu package) - addressed in versions 6.0.121-0ubuntu1~22.04.1, 6.0.121-0ubuntu1~23.04.1
dotnet-host (Ubuntu package) - addressed in versions 6.0.121-0ubuntu1~22.04.1, 6.0.121-0ubuntu1~23.04.1
dotnet-hostfxr-6.0 (Ubuntu package) - addressed in versions 6.0.121-0ubuntu1~22.04.1, 6.0.121-0ubuntu1~23.04.1
dotnet7 (Ubuntu package) - addressed in versions 7.0.110-0ubuntu1~22.04.1, 7.0.110-0ubuntu1~23.04.1
dotnet-sdk-7.0 (Ubuntu package) - addressed in versions 7.0.110-0ubuntu1~22.04.1, 7.0.110-0ubuntu1~23.04.1
dotnet-runtime-7.0 (Ubuntu package) - addressed in versions 7.0.110-0ubuntu1~22.04.1, 7.0.110-0ubuntu1~23.04.1
dotnet-hostfxr-7.0 (Ubuntu package) - addressed in versions 7.0.110-0ubuntu1~22.04.1, 7.0.110-0ubuntu1~23.04.1
dotnet-host-7.0 (Ubuntu package) - addressed in versions 7.0.110-0ubuntu1~22.04.1, 7.0.110-0ubuntu1~23.04.1
aspnetcore-runtime-7.0 (Ubuntu package) - addressed in versions 7.0.110-0ubuntu1~22.04.1, 7.0.110-0ubuntu1~23.04.1

External References

Related Security Bulletins