# CVE-2022-21167: Arbitrary Code Execution

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.45%, higher than 74% of CVEs (2026-12-01)
- Published: 2022-05-01T15:30:17.128Z
- Modified: 2026-06-17T04:25:39.957Z
- Also known as: GHSA-vh38-ghx6-vmvg
- Weaknesses: CWE-94
- Assigned by: snyk

## Description

All versions of package masuit.tools.core are vulnerable to Arbitrary Code Execution via the ReceiveVarData<T> 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.

(As written by CVE List.)

## Affected

- Masuit.Tools.Core: before unspecified
- Masuit.Tools.Core (NuGet): up to 2.4.8.6
- ldqk masuit.tools: no versions given

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-DOTNET-MASUITTOOLSCORE-2316875> (third-party-advisory, web)
- <https://github.com/ldqk/Masuit.Tools/blob/327f42b9f20f25bb66188672199c8265fc968d91/Masuit.Tools.Abstractions/Net/SocketClient.cs%23L197> (broken-link, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21167> (advisory)
- <https://github.com/ldqk/Masuit.Tools> (web)

## Sources

- CVE List: [CVE-2022-21167](https://www.cve.org/CVERecord?id=CVE-2022-21167), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-vh38-ghx6-vmvg](https://github.com/advisories/GHSA-vh38-ghx6-vmvg), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2022-21167](https://nvd.nist.gov/vuln/detail/CVE-2022-21167), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-21167 · Whole record: https://cve.day/CVE-2022-21167.json · Rebuilt by cve.day 2026-11-25T22:58:11.321Z
