{"id":"CVE-2024-38355","published":"2024-06-19T19:48:50Z","modified":"2024-09-03T20:35:40Z","title":"Unhandled 'error' event in socket.io","vendor":"socketio","product":"socket.io","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00807,"percentile":0.57729,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"references":[{"url":"https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115","tags":["x_refsource_MISC"]},{"url":"https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c","tags":["x_refsource_MISC"]},{"url":"https://www.vicarius.io/vsociety/posts/unhandled-exception-in-socketio-cve-2024-38355","tags":[]}],"priority":{"score":21.7,"factors":[{"name":"EPSS percentile","points":11.55},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.11}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-12-23","earliestUrl":"https://github.com/PawelMurdzek/CVE-2024-38355-PoC","repos":[{"name":"PawelMurdzek/CVE-2024-38355-PoC","url":"https://github.com/PawelMurdzek/CVE-2024-38355-PoC","stars":0,"created":"2025-12-23"}]},"first":{"date":"2025-12-23","source":"PoC-in-GitHub","url":"https://github.com/PawelMurdzek/CVE-2024-38355-PoC"},"provenance":"source"},"vendorSlug":"socketio","affectedVersions":[{"vendor":"socketio","product":"socket.io","versions":["< 2.5.1",">= 3.0.0,< 4.6.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-03T15:54:14.198687Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"socket.io","vulnerableRanges":["<2.5.1",">=3.0.0, <4.6.2"],"patched":["2.5.1","4.6.2"],"from":["GHSA-25hc-qcg6-38wj"],"provenance":"source"}],"summary":{"text":"The flaw is an unhandled \"error\" event in socket.io, the open source real-time, event-based communication framework for Node.js, where a specially crafted Socket.IO packet can trigger an uncaught exception on the server. An attacker who can send such a packet to a Socket.IO server can crash the Node.js process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:48Z"},"euvd":{"id":"EUVD-2024-1878","exploited":false,"provenance":"source"}}