نسخههای متأثر
npmmsgpack5
- نسخههای متأثر
- < 6.1.0
- نسخهٔ اصلاحشده
- 6.1.0
بهرهبرداری
شرح آسیبپذیری
Impact
The streaming decoder recursively invokes itself for every complete value remaining in a chunk. A single chunk containing many small valid MessagePack values can exhaust the JavaScript call stack and interrupt the process or stream.
Patches
The streaming decoder now drains concatenated values iteratively with constant call-stack depth.
Workarounds
Limit the number of MessagePack values accepted in one chunk, or split large batches before passing them to the decoder stream.
پیوندها
- https://github.com/advisories/GHSA-5x5g-h9x8-2fh9
- https://github.com/mcollina/msgpack5
- https://github.com/mcollina/msgpack5/commit/77fbef144d05def5d16fc22c37caa64c0a7efeba
- https://github.com/mcollina/msgpack5/releases/tag/v6.1.0
- https://github.com/mcollina/msgpack5/security/advisories/GHSA-5x5g-h9x8-2fh9
گزارشدهندگان
- SWIFI-AI

