kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-48511 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 member names in array-like structures, so inserting many distinct keys can require repeated linear scans and array copies. For large attacker-controlled maps, this produces quadratic CPU and allocation behavior. The issue is especially surprising because ExpandoObjectResolver.Options is configured with MessagePackSecurity.UntrustedData, but collision-resistant dictionary comparers cannot protect ExpandoObject insertion internals. This vulnerability is fixed in 2.5.301 and 3.1.7.

영향 받는 제품 제품 1개

  • MessagePack-CSharp

    MessagePack-CSharp

    해결 버전 있음

    영향 받는 버전

    • 3.0 이상 3.1.7 미만
    • 2.5.301 미만

    해결 버전

    • 3.1.7 이상
    • 2.5.301 이상

참고 자료 1건

‹ 목록

점검 지원 범위 문의

도입 문의