Mcollina msgpack5
msgpack5: Many buffered values can exhaust the streaming decoder stack
msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the streaming decoder recursively invokes itself for each complete MessagePack value remaining in a chunk. A remote peer can send one chunk containing many small valid values, causing recursion proportional to the value count, exhausting the JavaScript call stack, and interrupting the process or stream. This issue is fixed in version 6.1.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-674
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
mcollina msgpack5
- < 6.1.0
Fixed in 6.1.0
Mitigation
Upgrade msgpack5 to 6.1.0 or later.
References
- Vendor advisory github.com/mcollina/msgpack5/security/advisori…
- Patch github.com/mcollina/msgpack5/commit/77fbef144d…
- Release notes github.com/mcollina/msgpack5/releases/tag/v6.1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.