MessagePack vulnerabilities
Extremely Fast MessagePack(MsgPack) Serializer for C# (.NET Framework, .NET 6, Unity, Xamarin).
- Registry
- NuGet
- Latest
- 3.1.12
- License
- MIT
15 known advisories
The latest version, 3.1.12, is not affected by any of them. Projects on older versions may be.
dotnet add package MessagePack --version 3.1.12Is your project on an affected MessagePack?
Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for MessagePack
MessagePack: Nested arrays can blow past buffer length limits
- Affected
- <2.5.303 · >=3.0.0 <3.1.9
- Fixed in
- 2.5.303, 3.1.9
MessagePack-CSharp: Typeless deserialization type restrictions do not recurse into arrays or generic arguments
- Affected
- <2.5.301 · >=3.0 <3.1.7
- Fixed in
- 2.5.301, 3.1.7
MessagePack-CSharp: InterfaceLookupFormatter bypasses collision-resistant comparer settings
- Affected
- <2.5.301 · >=3.0 <3.1.7
- Fixed in
- 2.5.301, 3.1.7
MessagePack-CSharp: Multi-dimensional array formatters allocate from unchecked dimensions
- Affected
- <2.5.301 · >=3.0 <3.1.7
- Fixed in
- 2.5.301, 3.1.7
MessagePack-CSharp: Unity unsafe blit formatter allocates from unbounded byte length
- Affected
- <2.5.301 · >=3.0 <3.1.7
- Fixed in
- 2.5.301, 3.1.7
MessagePack-CSharp: DynamicUnionResolver-generated deserializers miss depth enforcement
- Affected
- <2.5.301 · >=3.0 <3.1.7
- Fixed in
- 2.5.301, 3.1.7
MessagePack-CSharp: JSON conversion APIs can recurse without consistent depth enforcement
- Affected
- <2.5.301 · >=3.0 <3.1.7
- Fixed in
- 2.5.301, 3.1.7
MessagePack-CSharp: ExpandoObject formatter can perform quadratic insertion work on untrusted maps
- Affected
- <2.5.301 · >=3.0 <3.1.7
- Fixed in
- 2.5.301, 3.1.7
MessagePack-CSharp: LZ4 decompression allocates from unbounded declared output lengths
- Affected
- <2.5.301 · >=3.0 <3.1.7
- Fixed in
- 2.5.301, 3.1.7
MessagePack-CSharp: ASP.NET Core MessagePackInputFormatter defaults to TrustedData for HTTP request bodies
- Affected
- <2.5.301 · >=3.0 <3.1.7
- Fixed in
- 2.5.301, 3.1.7
MessagePack-CSharp: MessagePackReader.Skip can recurse without enforcing maximum object graph depth
- Affected
- <2.5.301 · >=3.0 <3.1.7
- Fixed in
- 2.5.301, 3.1.7
MessagePack-CSharp: Denial of service vulnerabilities can swamp the CPU or crash the process with stack and heap overflows
- Affected
- >=3.0 <3.1.7
- Fixed in
- 3.1.7
MessagePack's LZ4 decompression may fail with AccessViolationException after dereferencing memory from bad input
- Affected
- <2.5.301 · >=3.0.214-rc.1 <3.1.7
- Fixed in
- 2.5.301, 3.1.7
MessagePack allows untrusted data to lead to DoS attack due to hash collisions and stack overflow
- Affected
- <2.5.187 · >=2.6.95-alpha <3.0.214-rc.1
- Fixed in
- 2.5.187, 3.0.214-rc.1
Untrusted data can lead to DoS attack due to hash collisions and stack overflow in MessagePack
- Affected
- <1.9.11 · >=2.0.0 <2.1.90
- Fixed in
- 1.9.11, 2.1.90
Is your MessagePack version vulnerable?
- MessagePack 3.1No known advisories in 3.1.12
- MessagePack 3.013 advisories in 3.0.308
- MessagePack 2.5No known advisories in 2.5.307
- MessagePack 2.413 advisories in 2.4.59
- MessagePack 2.313 advisories in 2.3.112
- MessagePack 2.213 advisories in 2.2.113
- MessagePack 2.113 advisories in 2.1.194
- MessagePack 2.014 advisories in 2.0.335
- MessagePack 1.913 advisories in 1.9.11
- MessagePack 1.814 advisories in 1.8.80
- MessagePack 1.714 advisories in 1.7.3.7
- MessagePack 1.614 advisories in 1.6.2
- MessagePack 1.514 advisories in 1.5.1
- MessagePack 1.414 advisories in 1.4.4
Which of your client projects still run an old MessagePack?
NPMscan reads the packages.lock.json and .csproj files in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other NuGet packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the NuGet registry.