CVE-2022-21167
CRITICAL 9.8CVSS 3.1Code Injection in Masuit.Tools.Core
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.
- Published
- 1 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-vh38-ghx6-vmvg
- Sources
- NVDJSONOSV GHSA-vh38-ghx6-vmvgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ldqk | masuit.toolscpe:2.3:a:ldqk:masuit.tools:*:*:*:*:*:*:*:* |
all versions | |
| OSV | NuGet | Masuit.Tools.Core | <= 2.4.8.6 |
References
- https://github.com/ldqk/Masuit.Tools/blob/327f42b9f20f25bb66188672199c8265fc968d91/Masuit.Tools.Abstractions/Net/SocketClient.cs%23L197 · Broken Link, WEB
- https://snyk.io/vuln/SNYK-DOTNET-MASUITTOOLSCORE-2316875 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-21167 · ADVISORY
- https://github.com/ldqk/Masuit.Tools · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 May 2022)