Unhandled 'error' event in socket.io
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| socketio | socket.io | before 2.5.1; 3.0.0 to before 4.6.2 | 2.5.1, 4.6.2 | Patch available | CNA |
| — | socket.io (npm) | before 2.5.1 | 2.5.1 | Patch available | GHSA-25hc-qcg6-38wj |
| — | socket.io (npm) | 3.0.0 to before 4.6.2 | 4.6.2 | Patch available | GHSA-25hc-qcg6-38wj |
- socket.io Vendorsocketio Affected before 2.5.1; 3.0.0 to before 4.6.2 Fixed in 2.5.1, 4.6.2 Patch available CNA
- socket.io (npm) Vendor— Affected before 2.5.1 Fixed in 2.5.1 Patch available GHSA-25hc-qcg6-38wj
- socket.io (npm) Vendor— Affected 3.0.0 to before 4.6.2 Fixed in 4.6.2 Patch available GHSA-25hc-qcg6-38wj
Remediation
- Fix · CNA socket.io (socketio) Fixed in 2.5.1, 4.6.2
- Fix · GHSA-25hc-qcg6-38wj socket.io (npm) Fixed in 2.5.1 Advisory →
- Fix · GHSA-25hc-qcg6-38wj socket.io (npm) Fixed in 4.6.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Data Grid 7 | Affected | No fix planned: Will not fix |
| Red Hat Quay 3 | Affected | No fix yet |
Not affected: 1 product
- Logging Subsystem for Red Hat OpenShift
Timeline
- 2026-10-02 Threatist record created from CVE-2024-38355
- 2026-10-03 Alias added: GHSA-25hc-qcg6-38wj
References
More socketio vulnerabilities
- TI-2022-20281 Uncaught exception in engine.io CVSS 3.1HIGH 7.1
- TI-2022-02236 Socket.io - Improper type validation in attachment parsing CVSS 3.1CRITICAL 10.0
- TI-2026-25581 socket.io allows an unbounded number of binary attachments CVSS 4.0HIGH 8.7
- TI-2022-06052 Uncaught Exception in engine.io CVSS 3.1HIGH 7.5
- TI-2023-15971 Insufficient validation when decoding a Socket.IO packet CVSS 3.1HIGH 7.5
- TI-2026-73305 Uncaught exception in Engine.IO lets clients crash Node.js processes CVSS 3.1HIGH 7.5
Sources
- CVE-2024-38355 · CVE Program
- CVE-2024-38355 · NVD
- FIRST EPSS
- GHSA-25hc-qcg6-38wj · GitHub Advisory Database · CC BY 4.0
- CVE-2024-38355 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences