msgpack5: Reserved byte can cause unbounded stream buffering
mcollina msgpack5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| msgpack5 npm |
|
|
Original description
msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the streaming decoder treats the reserved MessagePack byte 0xc1 as incomplete input instead of invalid input. When 0xc1 begins a stream, subsequent data remains buffered while the decoder waits for bytes that cannot make the value valid, allowing a remote peer to exhaust memory. This issue is fixed in version 6.1.0.
From the CVE record · GitHub_M