GHSA-2m8v-j782-fhvr
Socket.IO: Zero-attachment Memory Exhaustion
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-69185
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
### Impact 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. ### Patches | Version range | Used by | Fixed version | |------------------|--------------------------------------------|---------------| | `>=4.0.0 <4.2.7` | `socket.io@4.x` and `socket.io-client@4.x` | `4.2.7` | | `>=3.4.0 <3.4.5` | `socket.io@2.x` | `3.4.5` | | `<3.3.6` | `socket.io-client@2.x` | `3.3.6` | ### Workarounds There is no known workaround except upgrading to a safe version. ### For more information If you have any questions or comments about this advisory: - Open a discussion [here](https://github.com/socketio/socket.io/discussions)
Paquets affectés
| Paquet | Versions |
|---|---|
| npm · socket.io-parser | introduced 4.0.0, fixed 4.2.7 |
| npm · socket.io-parser | introduced 3.4.0, fixed 3.4.5 |
| npm · socket.io-parser | introduced 0, fixed 3.3.6 |
Références
- https://github.com/socketio/socket.io/security/advisories/GHSA-2m8v-j782-fhvr WEB
- https://github.com/socketio/socket.io/commit/7c6ef571a00656718e9e05e3b948fd1758b2a7b4 WEB
- https://github.com/socketio/socket.io/commit/9c6323e5cde41bd75df3379b5fc9293664a5f240 WEB
- https://github.com/socketio/socket.io/commit/ced94ffa3ac020a8f3c14eb98a3bf34acb14d291 WEB
- https://github.com/socketio/socket.io PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |