PT-2021-8147

CVE-2024-21907

·

تاريخ النشر

2021-01-19

·

تاريخ التحديث

2025-11-28

الوصف من

CVSS 2.0
7.8
عالية
المقاييسAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Newtonsoft.Json versions prior to 13.0.1
Description The issue is related to a mishandling of exceptional conditions vulnerability in the Newtonsoft.Json library. Crafted data passed to the JsonConvert.DeserializeObject method may trigger a StackOverflow exception, resulting in denial of service. Depending on the usage of the library, an unauthenticated and remote attacker may be able to cause the denial of service condition. The vulnerability can be exploited by passing highly nested JSON data, which can cause high CPU and RAM usage or a StackOverflow exception.
Recommendations To mitigate the issue, update Newtonsoft.Json to version 13.0.1 or set the MaxDepth parameter in the JsonSerializerSettings to a suitable value, such as 128, to prevent excessive nesting. This can be done globally with the following statement: JsonConvert.DefaultSettings = () => new JsonSerializerSettings { MaxDepth = 128 };
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-5CRP-9R3C-P9VR
GHSA-8RFX-6MR3-5JH3
ECHO-B343-99AF-A20D
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾