Security mailing lists by PureSourceCode

CVE-2024-38355

HIGH 7.3CVSS 3.1

socket.io has an unhandled 'error' event

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.

Published
19 Jun 2024
Last modified
24 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-20CWE-754
Also known as
GHSA-25hc-qcg6-38wj
Sources
NVDJSONOSV GHSA-25hc-qcg6-38wjJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm socket.io < 2.5.1 2.5.1
OSV npm socket.io >= 3.0.0, < 4.6.2 4.6.2

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 19 Jun 2024)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 19 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.