Description
socket.io parser is a socket.io encoder and decoder written in JavaScript complying with version 5 of socket.io-protocol. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. A patch has been released in version 4.2.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| socketio | socket.io-parser | >= 4.0.0, < 4.2.3, >= 3.4.0, < 3.4.3 | — |
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.1+~3.1.0-2 | — |
| Debian 13 | node-socket.io-parser | 4.2.1+~3.1.0-2 | — |
| Debian 12 | node-socket.io-parser | 4.2.1+~3.1.0-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
| Ubuntu 18.04 LTS | node-socket.io-parser | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | socket.io-parser | >= 4.0.4, < 4.2.3 | 4.2.3 | GHSA-cqmj-92xf-r6r9 |
| npm | socket.io-parser | >= 3.4.0, < 3.4.3 | 3.4.3 | GHSA-cqmj-92xf-r6r9 |
| npm | socket.io-parser | < 3.3.4 | 3.3.4 | GHSA-cqmj-92xf-r6r9 |
Advisories 2
- WID-SEC-2024-0049 Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 25, 2026
- WID-SEC-2023-1800 HCL BigFix: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 18, 2023
References
- https://github.com/socketio/socket.io-parser/security/advisories/GHSA-cqmj-92xf-r6r9
- https://github.com/socketio/socket.io-parser/commit/2dc3c92622dad113b8676be06f23b1ed46b02ced
- https://github.com/socketio/socket.io-parser/commit/3b78117bf6ba7e99d7a5cfc1ba54d0477554a7f3
- https://github.com/socketio/socket.io-parser/releases/tag/4.2.3