CVE-2024-38355
Unhandled 'error' event in socket.io
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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 `[email protected]` (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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVDNVD · Deferred | 3.1 | High7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 0.81% · top 43% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmsocket.ioGHSA-25hc-qcg6-38wj (opens in a new tab)
References (4)
- https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c (opens in a new tab)x_refsource_MISCx_transferred
- https://www.vicarius.io/vsociety/posts/unhandled-exception-in-socketio-cve-2024-38355 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-25hc-qcg6-38wj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-38355)Record last updated .