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

 

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

Published: June 13, 2023


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

Vulnerability details

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

The vulnerability exists due to insufficient validation of user-supplied input in .NET and Visual Studio. A remote user can pass specially crafted input to the application and execute arbitrary code on the target system.


Affected software

.NET
SINEC PNI
Robotic Process Automation for Cloud Pak
Visual Studio
Red Hat Enterprise Linux for Power, little endian
Anolis OS
Red Hat CodeReady Linux Builder 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 x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
Ubuntu
aspnetcore-runtime-6.0
dotnet-targeting-pack-6.0
dotnet-runtime-6.0
dotnet-hostfxr-6.0
aspnetcore-targeting-pack-6.0
dotnet-apphost-pack-6.0
dotnet-host
dotnet-hostfxr-6.0 (Ubuntu package)
dotnet-sdk-6.0 (Ubuntu package)
dotnet-host (Ubuntu package)
dotnet6 (Ubuntu package)
aspnetcore-runtime-6.0 (Ubuntu package)
dotnet-runtime-6.0 (Ubuntu package)
rh-dotnet60-dotnet (Red Hat package)
dotnet6.0 (Red Hat package)
netstandard-targeting-pack-2.1
dotnet-templates-6.0
dotnet
dotnet-sdk-6.0-source-built-artifacts
dotnet-sdk-6.0
aspnetcore-runtime-7.0 (Ubuntu package)
dotnet7 (Ubuntu package)
dotnet-hostfxr-7.0 (Ubuntu package)
dotnet-runtime-7.0 (Ubuntu package)
dotnet-host-7.0 (Ubuntu package)
dotnet-sdk-7.0 (Ubuntu package)
dotnet7.0 (Red Hat package)

How to mitigate CVE-2023-33128

Install updates from vendor's website.

SINEC PNI - update to 2.0
aspnetcore-runtime-6.0 - update to 6.0.20-1.0.1
dotnet-targeting-pack-6.0 - update to 6.0.20-1.0.1
dotnet-runtime-6.0 - update to 6.0.20-1.0.1
dotnet-hostfxr-6.0 - update to 6.0.20-1.0.1
aspnetcore-targeting-pack-6.0 - update to 6.0.20-1.0.1
dotnet-apphost-pack-6.0 - update to 6.0.20-1.0.1
dotnet-host - update to 6.0.20-1.0.1
dotnet-hostfxr-6.0 (Ubuntu package) - addressed in versions 6.0.118-0ubuntu1~22.04.1, 6.0.118-0ubuntu1~22.10.1, 6.0.118-0ubuntu1~23.04.1, 6.0.119-0ubuntu1~22.04.1, 6.0.119-0ubuntu1~22.10.1, 6.0.119-0ubuntu1~23.04.1
dotnet-sdk-6.0 (Ubuntu package) - addressed in versions 6.0.118-0ubuntu1~22.04.1, 6.0.118-0ubuntu1~22.10.1, 6.0.118-0ubuntu1~23.04.1, 6.0.119-0ubuntu1~22.04.1, 6.0.119-0ubuntu1~22.10.1, 6.0.119-0ubuntu1~23.04.1
dotnet-host (Ubuntu package) - addressed in versions 6.0.118-0ubuntu1~22.04.1, 6.0.118-0ubuntu1~22.10.1, 6.0.118-0ubuntu1~23.04.1, 6.0.119-0ubuntu1~22.04.1, 6.0.119-0ubuntu1~22.10.1, 6.0.119-0ubuntu1~23.04.1
dotnet6 (Ubuntu package) - addressed in versions 6.0.118-0ubuntu1~22.04.1, 6.0.118-0ubuntu1~22.10.1, 6.0.118-0ubuntu1~23.04.1, 6.0.119-0ubuntu1~22.04.1, 6.0.119-0ubuntu1~22.10.1, 6.0.119-0ubuntu1~23.04.1
aspnetcore-runtime-6.0 (Ubuntu package) - addressed in versions 6.0.118-0ubuntu1~22.04.1, 6.0.118-0ubuntu1~22.10.1, 6.0.118-0ubuntu1~23.04.1, 6.0.119-0ubuntu1~22.04.1, 6.0.119-0ubuntu1~22.10.1, 6.0.119-0ubuntu1~23.04.1
dotnet-runtime-6.0 (Ubuntu package) - addressed in versions 6.0.118-0ubuntu1~22.04.1, 6.0.118-0ubuntu1~22.10.1, 6.0.118-0ubuntu1~23.04.1, 6.0.119-0ubuntu1~22.04.1, 6.0.119-0ubuntu1~22.10.1, 6.0.119-0ubuntu1~23.04.1
rh-dotnet60-dotnet (Red Hat package) - update to 6.0.118-1.el7_9
dotnet6.0 (Red Hat package) - addressed in versions 6.0.118-1.el8_8, 6.0.118-1.el9_2, 6.0.120-1.el8_6, 6.0.120-1.el9_0
netstandard-targeting-pack-2.1 - update to 6.0.120-1.0.1
dotnet-templates-6.0 - update to 6.0.120-1.0.1
dotnet - update to 6.0.120-1.0.1
dotnet-sdk-6.0-source-built-artifacts - update to 6.0.120-1.0.1
dotnet-sdk-6.0 - update to 6.0.120-1.0.1
aspnetcore-runtime-7.0 (Ubuntu package) - addressed in versions 7.0.107-0ubuntu1~22.04.1, 7.0.107-0ubuntu1~22.10.1, 7.0.107-0ubuntu1~23.04.1, 7.0.108-0ubuntu1~22.04.1, 7.0.108-0ubuntu1~22.10.1, 7.0.108-0ubuntu1~23.04.1
dotnet7 (Ubuntu package) - addressed in versions 7.0.107-0ubuntu1~22.04.1, 7.0.107-0ubuntu1~22.10.1, 7.0.107-0ubuntu1~23.04.1, 7.0.108-0ubuntu1~22.04.1, 7.0.108-0ubuntu1~22.10.1, 7.0.108-0ubuntu1~23.04.1
dotnet-hostfxr-7.0 (Ubuntu package) - addressed in versions 7.0.107-0ubuntu1~22.04.1, 7.0.107-0ubuntu1~22.10.1, 7.0.107-0ubuntu1~23.04.1, 7.0.108-0ubuntu1~22.04.1, 7.0.108-0ubuntu1~22.10.1, 7.0.108-0ubuntu1~23.04.1
dotnet-runtime-7.0 (Ubuntu package) - addressed in versions 7.0.107-0ubuntu1~22.04.1, 7.0.107-0ubuntu1~22.10.1, 7.0.107-0ubuntu1~23.04.1, 7.0.108-0ubuntu1~22.04.1, 7.0.108-0ubuntu1~22.10.1, 7.0.108-0ubuntu1~23.04.1
dotnet-host-7.0 (Ubuntu package) - addressed in versions 7.0.107-0ubuntu1~22.04.1, 7.0.107-0ubuntu1~22.10.1, 7.0.107-0ubuntu1~23.04.1, 7.0.108-0ubuntu1~22.04.1, 7.0.108-0ubuntu1~22.10.1, 7.0.108-0ubuntu1~23.04.1
dotnet-sdk-7.0 (Ubuntu package) - addressed in versions 7.0.107-0ubuntu1~22.04.1, 7.0.107-0ubuntu1~22.10.1, 7.0.107-0ubuntu1~23.04.1, 7.0.108-0ubuntu1~22.04.1, 7.0.108-0ubuntu1~22.10.1, 7.0.108-0ubuntu1~23.04.1
dotnet7.0 (Red Hat package) - addressed in versions 7.0.107-1.el8_8, 7.0.107-1.el9_2
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.7, 23.0.8

External References

Related Security Bulletins