همهٔ گزارش‌ها
متوسط

msgpack5: Deeply nested input can exhaust the decoder stack

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
< 6.1.0
نسخهٔ اصلاح‌شده
6.1.0

بهره‌برداری

CVE-2026-107298

احتمال بهره‌برداری در ۳۰ روز آینده: 0.37%

FIRST EPSS · ۱۴۰۵/۰۸/۲۸

شرح آسیب‌پذیری

Impact

The decoder has no nesting-depth limit for arrays and maps. An attacker who can provide MessagePack input can use deeply nested containers to exhaust the JavaScript call stack and interrupt the process or request handler.

Patches

The decoder now limits nesting depth to 100 by default and throws Maximum decode depth exceeded. Applications can configure the limit with the maxDepth option.

Workarounds

Reject deeply nested input before decoding, isolate decoding in a worker, or enforce a trusted schema with a bounded nesting depth.

پیوندها

گزارش‌دهندگان

  • SWIFI-AI