Description
MessagePack for C# and Unity before version 1.9.11 and 2.1.90 has a vulnerability where untrusted data can lead to DoS attack due to hash collisions and stack overflow. Review the linked GitHub Security Advisory for more information and remediation steps.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| neuecc | MessagePack | < 1.9.11, >= 2.0.0, < 2.1.90 | — |
| neuecc | MessagePack.ImmutableCollection | < 1.9.11, >= 2.0.0, < 2.1.90 | — |
| neuecc | MessagePack.ReactiveProperty | < 1.9.11, >= 2.0.0, < 2.1.90 | — |
| neuecc | MessagePack.UnityShims | < 1.9.11, >= 2.0.0, < 2.1.90 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-msgpack | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| NuGet | MessagePack | < 1.9.11 | 1.9.11 | GHSA-7q36-4xx7-xcxf |
| NuGet | MessagePack | >= 2.0.0, < 2.1.90 | 2.1.90 | GHSA-7q36-4xx7-xcxf |
| NuGet | MessagePack.ImmutableCollection | < 1.9.11 | 1.9.11 | GHSA-7q36-4xx7-xcxf |
| NuGet | MessagePack.ImmutableCollection | >= 2.0.0, < 2.1.90 | 2.1.90 | GHSA-7q36-4xx7-xcxf |
| NuGet | MessagePack.ReactiveProperty | < 1.9.11 | 1.9.11 | GHSA-7q36-4xx7-xcxf |
| NuGet | MessagePack.ReactiveProperty | >= 2.0.0, < 2.1.90 | 2.1.90 | GHSA-7q36-4xx7-xcxf |
| NuGet | MessagePack.Unity | < 1.9.11 | 1.9.11 | GHSA-7q36-4xx7-xcxf |
| NuGet | MessagePack.Unity | >= 2.0.0, < 2.1.90 | 2.1.90 | GHSA-7q36-4xx7-xcxf |
| NuGet | MessagePack.UnityShims | < 1.9.11 | 1.9.11 | GHSA-7q36-4xx7-xcxf |
| NuGet | MessagePack.UnityShims | >= 2.0.0, < 2.1.90 | 2.1.90 | GHSA-7q36-4xx7-xcxf |
References
- https://github.com/neuecc/MessagePack-CSharp/security/advisories/GHSA-7q36-4xx7-xcxf
- https://github.com/neuecc/MessagePack-CSharp/commit/56fa86219d01d0a183babbbbcb34abbdea588a02
- https://github.com/neuecc/MessagePack-CSharp/issues/810
- https://github.com/neuecc/MessagePack-CSharp/commit/f88684078698386df02204f13faeff098a61f007