CVE-2022-21167
C# vulnerability analysis and mitigation

Overview

CVE-2022-21167 affects all versions of the package masuit.tools.core. The vulnerability was discovered in December 2021 and publicly disclosed on February 27, 2022. It allows arbitrary code execution through the ReceiveVarData function in the SocketClient.cs component (Snyk Advisory).

Technical details

The vulnerability exists in the socket client implementation where the BinaryFormatter lacks appropriate restrictions or type bindings. This allows an attacker to pass malicious payloads through user-controllable input after the socket connection has been established. The vulnerability has been assigned a CVSS v3.1 Base Score of 9.8 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) by the NVD (NVD).

Impact

A successful exploitation of this vulnerability could result in arbitrary code execution on the affected system, potentially leading to complete system compromise. The attacker could gain the ability to execute unauthorized code with the same privileges as the application running the vulnerable component.

Additional resources


SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-64095CRITICAL9.8
  • C#C#
  • DNN.PLATFORM
NoYesOct 28, 2025
CVE-2025-64113CRITICAL9.3
  • C#C#
  • MediaBrowser.Server.Core
NoYesDec 09, 2025
CVE-2025-66631HIGH7.2
  • C#C#
  • Csla
NoYesDec 09, 2025
CVE-2025-66625MEDIUM4.9
  • C#C#
  • Umbraco.Cms
NoYesDec 09, 2025
CVE-2025-65955MEDIUM4.9
  • C#C#
  • Magick.NET-Q8-OpenMP-arm64
NoYesDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management