CVE-2023-32695 Insufficient validation when decoding a Socket.IO packet
A specially crafted Socket.IO packet causes an uncaught exception, crashing the Node.js server process.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-32695?
CVE-2023-32695 is a high-severity denial of service vulnerability in socketio socket.io-parser, published on 27 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2023-32695?
6 open source packages ship an affected version, including socket.io-parser. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
socket.io-parser npm | All versions | 3.3.4 |
socket.io-parser npm | All versions | 3.3.4 |
socket.io-parser npm | From 3.4.0 | 3.4.3 |
socket.io-parser npm | From 3.4.0 | 3.4.3 |
socket.io-parser npm | From 4.0.4 | 4.2.3 |
socket.io-parser npm | From 4.0.4 | 4.2.3 |
Products include Socket Socket.io-Parser.
How do I fix CVE-2023-32695?
Upgrade socket.io-parser to a fixed version for your release line: 3.3.4, 3.4.3 or 4.2.3.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-32695 being exploited?
There is no known exploitation of CVE-2023-32695 in the wild and no public exploit code.
Other vulnerabilities in socketio socket.io-parser
Sources
Also known as DEBIAN-CVE-2023-32695, GHSA-cqmj-92xf-r6r9, ROOT-APP-NPM-CVE-2023-32695, UBUNTU-CVE-2023-32695.