{"id":"GHSA-hpw7-3vq3-mmv6","summary":"Insecure deserialization in Wire","details":"Due to how Wire handles type information in its serialization format, malicious payloads can be passed to a deserializer. e.g. using a surrogate on the sender end, an attacker can pass information about a different type for the receiving end. And by doing so allowing the serializer to create any type on the deserializing end.\n\n**This is the same issue that exists for .NET BinaryFormatter https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2300?view=vs-2019**\n\nThis also applies to the fork of Wire, AkkaDotNet/Hyperion.\n\n\n","aliases":["CVE-2021-29508"],"modified":"2024-02-17T05:36:14.499587Z","published":"2021-05-19T23:02:38Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-05-19T19:38:22Z","nvd_published_at":"2021-05-11T17:15:00Z","cwe_ids":["CWE-502"]},"references":[{"type":"WEB","url":"https://github.com/AsynkronIT/Wire/security/advisories/GHSA-hpw7-3vq3-mmv6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29508"},{"type":"WEB","url":"https://www.nuget.org/packages/Wire"}],"affected":[{"package":{"name":"Wire","ecosystem":"NuGet","purl":"pkg:nuget/Wire"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.7.0","0.7.1","0.8.0","0.8.1","0.8.2","1.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-hpw7-3vq3-mmv6/GHSA-hpw7-3vq3-mmv6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}