CVE-2021-29508
CRITICAL 9.1CVSS 3.1Insecure deserialization in Wire
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. This is the same issue that exists for .NET BinaryFormatter https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2300?view=vs-2019. This also applies to the fork of Wire.
- Published
- 11 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-hpw7-3vq3-mmv6
- Sources
- NVDJSONOSV GHSA-hpw7-3vq3-mmv6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | asynkron | wirecpe:2.3:a:asynkron:wire:*:*:*:*:*:*:*:* |
all versions | |
| OSV | NuGet | Wire | <= 1.0.0 |
References
- https://github.com/AsynkronIT/Wire/security/advisories/GHSA-hpw7-3vq3-mmv6 · Exploit, Third Party Advisory, WEB
- https://www.nuget.org/packages/Wire/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-29508 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 11 May 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 May 2021)