{"schema_version":"1.9.0","id":"GHSA-vh38-ghx6-vmvg","published":"2022-05-03T00:00:46Z","modified":"2026-03-13T21:56:54.665606Z","aliases":["CVE-2022-21167"],"summary":"Code Injection in Masuit.Tools.Core","details":"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":[{"package":{"name":"Masuit.Tools.Core","ecosystem":"NuGet","purl":"pkg:nuget/Masuit.Tools.Core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.4.8.6"}]}],"versions":["1.0.0","1.7.7","1.7.9","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8","1.8.9","1.8.9.1","1.9.0","1.9.1","1.9.1.1","1.9.1.2","1.9.1.3","1.9.1.4","1.9.10","1.9.11","1.9.2","1.9.3","1.9.3.1","1.9.3.2","1.9.3.3","1.9.4","1.9.4.1","1.9.5","1.9.5.1","1.9.5.2","1.9.5.3","1.9.5.4","1.9.6","1.9.7","1.9.7.1","1.9.7.2","1.9.7.3","1.9.7.4","1.9.8","1.9.9","2.0.0","2.0.1","2.1.0","2.1.1","2.1.1.1","2.1.2","2.1.2.1","2.1.3","2.1.3.1","2.1.4","2.1.4.1","2.1.4.2","2.1.4.3","2.1.5","2.1.5.1","2.1.5.2","2.1.6","2.1.6.1","2.2.0","2.2.1","2.2.2","2.2.2.1","2.2.2.2","2.2.3","2.2.3.1","2.2.3.2","2.2.3.3","2.2.3.4","2.2.3.5","2.2.4","2.2.4.1","2.2.4.2","2.2.4.3","2.2.4.4","2.2.4.5","2.2.4.6","2.2.5","2.2.5.1","2.2.6","2.2.6.1","2.2.6.2","2.2.6.3","2.2.6.4","2.2.7","2.2.7.1","2.2.7.2","2.2.7.3","2.2.7.4","2.2.7.5","2.2.7.6","2.2.8","2.2.8.1","2.2.8.2","2.2.8.3","2.2.8.4","2.2.8.5","2.2.8.6","2.2.8.7","2.2.8.8","2.2.8.9","2.2.9","2.2.9.1","2.2.9.2","2.2.9.3","2.2.9.4","2.2.9.5","2.2.9.6","2.3.0","2.3.1","2.3.1.1","2.3.1.10","2.3.1.3","2.3.1.4","2.3.1.5","2.3.1.6","2.3.1.6-preview","2.3.1.7","2.3.1.8","2.3.1.9","2.3.2","2.3.2.1","2.3.2.2","2.3.2.3","2.3.2.4","2.3.2.5","2.3.2.6","2.4.0","2.4.1","2.4.1.1","2.4.1.2","2.4.1.3","2.4.1.4","2.4.1.5","2.4.2","2.4.2.1","2.4.2.10","2.4.2.2","2.4.2.3","2.4.2.4","2.4.2.5","2.4.2.6","2.4.2.7","2.4.2.8","2.4.2.9","2.4.3","2.4.3.1","2.4.3.2","2.4.3.3","2.4.3.4","2.4.3.5","2.4.3.6","2.4.3.7","2.4.3.8","2.4.3.9","2.4.4","2.4.4.1","2.4.4.2","2.4.4.3","2.4.4.4","2.4.4.5","2.4.4.6","2.4.4.7","2.4.4.8","2.4.5.1","2.4.5.2","2.4.5.3","2.4.5.5","2.4.6","2.4.6.1","2.4.6.2","2.4.6.3","2.4.6.4","2.4.6.5","2.4.7","2.4.7.1","2.4.7.2","2.4.7.3","2.4.7.4","2.4.7.5","2.4.7.6","2.4.7.7","2.4.7.8","2.4.7.9","2.4.8","2.4.8.1","2.4.8.2","2.4.8.3","2.4.8.4","2.4.8.5","2.4.8.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vh38-ghx6-vmvg/GHSA-vh38-ghx6-vmvg.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21167"},{"type":"WEB","url":"https://github.com/ldqk/Masuit.Tools"},{"type":"WEB","url":"https://github.com/ldqk/Masuit.Tools/blob/327f42b9f20f25bb66188672199c8265fc968d91/Masuit.Tools.Abstractions/Net/SocketClient.cs%23L197"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-DOTNET-MASUITTOOLSCORE-2316875"}],"database_specific":{"cwe_ids":["CWE-94"],"github_reviewed":true,"github_reviewed_at":"2022-05-23T19:41:26Z","nvd_published_at":"2022-05-01T16:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}