{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-38355","id":"CVE-2024-38355","title":"Unhandled 'error' event in socket.io","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 `d30","descriptionLong":"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","updated":"2026-10-28T02:30:43.806590872Z","reserved":"2024-06-14T14:16:16.464Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["socketio socket.io"],"affectedProducts":[{"vendor":"socketio","product":"socket.io","defaultStatus":null,"versions":[{"version":"< 2.5.1","status":"affected"},{"version":">= 3.0.0,< 4.6.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"socket.io","purl":"pkg:npm/socket.io","ranges":["<2.5.1",">=3.0.0 <4.6.2"],"fixed":["2.5.1","4.6.2"],"advisory":"GHSA-25hc-qcg6-38wj"}],"cwes":["CWE-20","CWE-754"],"aliases":["GHSA-25hc-qcg6-38wj"],"references":[{"url":"https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://www.vicarius.io/vsociety/posts/unhandled-exception-in-socketio-cve-2024-38355","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38355.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38355","tags":["advisory"]},{"url":"https://github.com/socketio/socket.io","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00807,"epssPercentile":0.57598,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-38355","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38355","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-38355","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-25hc-qcg6-38wj","ok":true,"note":"GHSA-25hc-qcg6-38wj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-38355","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}