{"id":"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","aliases":["GHSA-25hc-qcg6-38wj"],"modified":"2026-04-09T10:16:33.412398Z","published":"2024-06-19T19:48:50.193Z","related":["SUSE-SU-2024:3771-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-20","CWE-754"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38355.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/socketio/socket.io","events":[{"introduced":"0"},{"fixed":"15af22fc22bc6030fcead322c106f07640336115"}]},{"type":"GIT","repo":"https://github.com/socketio/socket.io","events":[{"introduced":"0"},{"fixed":"d30630ba10562bf987f4d2b42440fc41a828119c"}]},{"type":"GIT","repo":"https://github.com/socketio/socket.io","events":[{"introduced":"0"},{"fixed":"15af22fc22bc6030fcead322c106f07640336115"}]},{"type":"GIT","repo":"https://github.com/socketio/socket.io","events":[{"introduced":"0"},{"fixed":"d30630ba10562bf987f4d2b42440fc41a828119c"}]}],"versions":["0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.7.8","0.7.9","0.8.0","0.8.1","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.8.7","0.9.0","0.9.1","0.9.1-1","0.9.10","0.9.2","0.9.3","0.9.4","0.9.5","0.9.7","0.9.8","0.9.9","1.0.0","1.0.0-pre","1.0.0-pre2","1.0.0-pre3","1.0.0-pre4","1.0.0-pre5","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.1.0","1.2.0","1.2.1","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.5.0","1.5.1","1.6.0","1.7.0","1.7.1","1.7.2","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.1.0","2.1.1","2.2.0","2.3.0","2.4.0","2.4.1","2.5.0","3.0.0","3.0.0-rc1","3.0.0-rc2","3.0.0-rc3","3.0.0-rc4","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1.0","3.1.1","3.1.2","4.0.0","4.0.1","4.0.2","4.1.0","4.1.1","4.1.2","4.1.3","4.2.0","4.3.0","4.3.1","4.3.2","4.4.0","4.4.1","4.5.0","4.5.1","4.5.2","4.5.3","4.5.4","4.6.0","4.6.0-alpha1","4.6.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38355.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}