Live threats

All CVEs / socketio

CVE-2024-38355socketio socket.io

High 7.3 No auth needed

Priority
59
CVSS 3.1
7.3
EPSS
1.1%
probability of exploitation in 30 days · percentile 64
Auth required
No
Published
Jun 19, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-754
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for socket.io.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm socket.io < 2.5.1 2.5.1 npm install socket.io@2.5.1
npm socket.io ≥ 3.0.0 < 4.6.2 4.6.2 npm install socket.io@4.6.2

Per OSV / GitHub Advisories (GHSA-25hc-qcg6-38wj). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.