{"id":"CVE-2024-38355","aliases":["GHSA-25hc-qcg6-38wj"],"url":"https://o3.security/vulnerability/CVE-2024-38355","summary":"Unhandled 'error' event in socket.io","details":"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","published":"2024-06-19T19:48:50.193Z","modified":"2026-07-15T01:48:56.121370020Z","cvss":{"score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"socket.io","fixedVersion":"2.5.1"},{"ecosystem":"npm","name":"socket.io","fixedVersion":"4.6.2"}],"fix":{"url":"https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115","label":"socketio/socket.io@15af22f"},"references":[{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/unhandled-exception-in-socketio-cve-2024-38355"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38355.json"},{"type":"ADVISORY","url":"https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38355"},{"type":"FIX","url":"https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115"},{"type":"FIX","url":"https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:56.121370020Z"}}