Skip to content
OpenAdvisories

Vendor

MessagePack-CSharp

14 known vulnerabilities.

10 results · Clear filters · Feed

  • Medium 5.3

    MessagePack: Nested arrays can blow past buffer length limits

    MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.303 and 3.1.9, deserializing attacker-controlled MessagePack data as System.Object through PrimitiveObjectFormatter can cause excessive memory allocation. The formatter allocates an object[] …

  • Medium 6.3

    MessagePack-CSharp: ASP.NET Core MessagePackInputFormatter defaults to TrustedData for HTTP request bodies

    MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, the parameterless MessagePackInputFormatter() constructor uses default serializer options, which resolve to MessagePackSerializerOptions.Standard with MessagePackSecurity.Trust…

  • Medium 6.3

    MessagePack-CSharp: LZ4 decompression allocates from unbounded declared output lengths

    MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, when MessagePack-CSharp decompresses Lz4Block or Lz4BlockArray payloads, it reads declared uncompressed lengths from the wire and allocates output buffers based on those length…

  • Medium 6.3

    MessagePack-CSharp: ExpandoObject formatter can perform quadratic insertion work on untrusted maps

    MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, ExpandoObjectFormatter.Deserialize populates System.Dynamic.ExpandoObject by calling IDictionary<string, object>.Add for each map entry. ExpandoObject internally maintains memb…

  • Medium 6.3

    MessagePack-CSharp: JSON conversion APIs can recurse without consistent depth enforcement

    MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, MessagePack-CSharp's JSON conversion helpers contain multiple recursion paths that do not consistently enforce a depth limit. These paths are in the JSON conversion component r…

  • Medium 6.3

    MessagePack-CSharp: DynamicUnionResolver generated deserializers miss depth enforcement

    MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, runtime-generated union deserializers emitted by DynamicUnionResolver do not call MessagePackSecurity.DepthStep(ref reader) and do not decrement reader.Depth around recursive d…

  • Medium 6.3

    MessagePack-CSharp: Unity unsafe blit formatter allocates from unbounded byte length

    MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, UnsafeBlitFormatterBase<T>.Deserialize reads an attacker-controlled byteLength from an extension payload and allocates an array based on that value before validating it against…

  • Medium 6.3

    MessagePack-CSharp: Multi-dimensional array formatters allocate from unchecked dimensions

    MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, MessagePack-CSharp's multi-dimensional array formatters read dimension lengths directly from the payload and allocate T[,], T[,,], or T[,,,] before validating that the dimensio…

  • Medium 6.3

    MessagePack-CSharp: InterfaceLookupFormatter bypasses collision-resistant comparer settings

    MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, InterfaceLookupFormatter<TKey,TElement> constructs an internal Dictionary<TKey, IGrouping<TKey,TElement>> with the default equality comparer instead of the security-aware compa…

  • Medium 6.3

    MessagePack-CSharp: Typeless deserialization type restrictions do not recurse into arrays or generic arguments

    MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, MessagePack-CSharp's typeless deserialization includes MessagePackSerializerOptions.ThrowIfDeserializingTypeIsDisallowed(Type) as a safety check for dangerous types. The defaul…