high7.5
CVE-2022-21167
All versions of package masuit.tools.core are vulnerable to Arbitrary Code Execution via the ReceiveVarData<T> function in the SocketClient.cs component.
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ldqk | Masuit.Tools | All versions |
References
- NVD record
- CVE.org record
- https://github.com/ldqk/Masuit.Tools/blob/327f42b9f20f25bb66188672199c8265fc968d91/Masuit.Tools.Abstractions/Net/SocketClient.cs%23L197
- https://snyk.io/vuln/SNYK-DOTNET-MASUITTOOLSCORE-2316875
- https://github.com/ldqk/Masuit.Tools/blob/327f42b9f20f25bb66188672199c8265fc968d91/Masuit.Tools.Abstractions/Net/SocketClient.cs%23L197
- https://snyk.io/vuln/SNYK-DOTNET-MASUITTOOLSCORE-2316875