CVE Vulnerabilities

CVE-2023-21538

Deserialization of Untrusted Data

Published: Jan 10, 2023 | Modified: Nov 21, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

.NET Denial of Service Vulnerability

Weakness

The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Affected Software

NameVendorStart VersionEnd Version
.netMicrosoft6.0.0 (including)6.0.0 (including)
PowershellMicrosoft7.2 (including)7.2 (including)
.NET Core on Red Hat Enterprise LinuxRedHatrh-dotnet60-dotnet-0:6.0.113-1.el7_9*
Red Hat Enterprise Linux 8RedHatdotnet6.0-0:6.0.113-1.el8_7*
Red Hat Enterprise Linux 9RedHatdotnet6.0-0:6.0.113-1.el9_1*
Dotnet6Ubuntudevel*
Dotnet6Ubuntujammy*
Dotnet6Ubuntukinetic*
Dotnet6Ubuntuupstream*

Potential Mitigations

  • Make fields transient to protect them from deserialization.
  • An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the transient data should be. This is an excellent way to prevent time, environment-based, or sensitive variables from being carried over and used improperly.

References