Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Masuit.Tools.Core
  4. ›
  5. CVE-2022-21167

CVE-2022-21167: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

May 1, 2022 (updated October 7, 2022)

All versions of package masuit.tools.core is vulnerable to Arbitrary Code Execution via the ReceiveVarData function in the SocketClient.cs component. The socket client in the package can pass in the payload via the user-controllable input after it has been established, because this socket client transmission does not have the appropriate restrictions or type bindings for the BinaryFormatter.

References

  • github.com/advisories/GHSA-vh38-ghx6-vmvg
  • github.com/ldqk/Masuit.Tools/blob/327f42b9f20f25bb66188672199c8265fc968d91/Masuit.Tools.Abstractions/Net/SocketClient.cs%23L197
  • nvd.nist.gov/vuln/detail/CVE-2022-21167
  • snyk.io/vuln/SNYK-DOTNET-MASUITTOOLSCORE-2316875

Code Behaviors & Features

Detect and mitigate CVE-2022-21167 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

nuget/Masuit.Tools.Core/CVE-2022-21167.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:43 +0000.