socket.io allows an unbounded number of binary attachments
socketio socket.io
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| socket.io-parser npm |
|
|
Original description
Socket.IO is an open source, real-time, bidirectional, event-based, communication framework. Prior to versions 3.3.5, 3.4.4, and 4.2.6, a specially crafted Socket.IO packet can make the server wait for a large number of binary attachments and buffer them, which can be exploited to make the server run out of memory. This issue has been patched in versions 3.3.5, 3.4.4, and 4.2.6.