High severity · published Jun 19, 2024
CVE-2024-38355
Unhandled 'error' event in socket.io
7.3
CVSS
0.8%
EPSS
No
On KEV
Description
Socket.IO is an open source, real-time, bidirectional, event-based, communication framework. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. This issue is fixed by commit `15af22fc22` which has been included in `socket.io@4.6.2` (released in May 2023). The fix was backported in the 2.x branch as well with commit `d30630ba10`. Users are advised to upgrade. Users unable to upgrade may attach a listener for the "error" event to catch these errors.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 57% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SO
socket.io · socketio
< 2.5.1; >= 3.0.0,< 4.6.2 · source: vendor, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-38355
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-38355
github.com
https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115
github.com
https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c
github.com
https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj
www.vicarius.io
https://www.vicarius.io/vsociety/posts/unhandled-exception-in-socketio-cve-2024-38355
More from socket.io
7.5
CVE-2026-102599
Socket.IO: Engine.IO Protocol Revision Mismatch DoS
7.5
CVE-2026-102600
Socket.IO: Prototype Pollution via Unsafe Client Session Lookup
7.5
CVE-2026-69185
Socket.IO: Zero-attachment Memory Exhaustion
7.5
CVE-2026-59724
Socket.IO: Engine.IO WebTransport SID DoS
7.5
CVE-2026-33151
socket.io allows an unbounded number of binary attachments
