Description
Socket.IO enables bidirectional and low-latency communication for every platform. Prior to 4.2.7, 3.4.5, and 3.3.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 vulnerability is fixed in 4.2.7, 3.4.5, and 3.3.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| socketio | socket.io | < 3.3.6, >= 3.4.0, < 3.4.5, >= 4.0.0, < 4.2.7 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-socket.io-parser | 4.2.4+~3.1.2-1 | — |
| Debian 13 | node-socket.io-parser | No fix yet | — |
| Debian 12 | node-socket.io-parser | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-socket.io-parser | No fix yet | — |
| Ubuntu 26.04 LTS | node-socket.io-parser | No fix yet | — |
| Ubuntu 24.04 LTS | node-socket.io-parser | No fix yet | — |
| Ubuntu 22.04 LTS | node-socket.io-parser | No fix yet | — |
| Ubuntu 20.04 LTS | node-socket.io-parser | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-socket.io-parser | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | jupyter-base-notebook | 7.6.3-r2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | socket.io-parser | >= 4.0.0, < 4.2.7 | 4.2.7 | GHSA-2m8v-j782-fhvr |
| npm | socket.io-parser | >= 3.4.0, < 3.4.5 | 3.4.5 | GHSA-2m8v-j782-fhvr |
| npm | socket.io-parser | < 3.3.6 | 3.3.6 | GHSA-2m8v-j782-fhvr |
References
- https://github.com/socketio/socket.io/security/advisories/GHSA-2m8v-j782-fhvr
- https://github.com/socketio/socket.io/commit/7c6ef571a00656718e9e05e3b948fd1758b2a7b4
- https://github.com/socketio/socket.io/commit/9c6323e5cde41bd75df3379b5fc9293664a5f240
- https://github.com/socketio/socket.io/commit/ced94ffa3ac020a8f3c14eb98a3bf34acb14d291