CVE-2024-38355
JavaScript vulnerability analysis and mitigation

Overview

Socket.IO, an open source real-time bidirectional event-based communication framework, contains a vulnerability (CVE-2024-38355) where a specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, causing the Node.js process to terminate (GitHub Advisory). The vulnerability affects Socket.IO versions <2.5.0 and >=3.0.0,<4.6.2.

Technical details

The vulnerability stems from an unhandled 'error' event that can cause the Node.js process to crash with an ERR_UNHANDLED_ERROR when receiving specially crafted packets. The issue has been assigned a CVSS v3 base score of 7.3 (High severity) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L, indicating network accessibility, low attack complexity, and no required privileges or user interaction (CISA Advisory).

Impact

When successfully exploited, this vulnerability can lead to a denial-of-service condition by causing the Node.js process to terminate unexpectedly. This affects the availability of the Socket.IO server and any dependent services (CISA Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Socket.IO version 4.6.2 (released in May 2023) with commit 15af22fc22 and backported to the 2.x branch with commit d30630ba10. Users are advised to upgrade to socket.io@4.6.2 or socket.io@2.5.1. As a temporary workaround, users can attach a listener for the 'error' event to catch these errors (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68428CRITICAL9.2
  • JavaScriptJavaScript
  • jspdf
NoYesJan 05, 2026
CVE-2025-65110HIGH8.1
  • JavaScriptJavaScript
  • vega-selections
NoYesJan 05, 2026
CVE-2025-67419HIGH7.5
  • JavaScriptJavaScript
  • @evershop/evershop
NoNoJan 05, 2026
CVE-2025-66648HIGH7.2
  • JavaScriptJavaScript
  • vega-functions
NoYesJan 05, 2026
CVE-2025-67427MEDIUM6.5
  • JavaScriptJavaScript
  • @evershop/evershop
NoNoJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management