Live threats

All CVEs / Socket

CVE-2022-41940Socket Engine.io

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
3.3%
probability of exploitation in 30 days · percentile 89
Auth required
Yes
Published
Nov 22, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-248
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process. This impacts all the users of the engine.io package, including those who uses depending packages like socket.io. There is no known workaround except upgrading to a safe version. There are patches for this issue released in versions 3.6.1 and 6.2.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Engine.io.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm engine.io < 3.6.1 3.6.1 npm install engine.io@3.6.1
npm engine.io ≥ 4.0.0 < 6.2.1 6.2.1 npm install engine.io@6.2.1

Per OSV / GitHub Advisories (GHSA-r7qp-cfhv-p84w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
socketengine.io< 3.6.1
socketengine.io≥ 4.0.0 < 6.2.1

Official sources

References

Links published by the sources. Open them with care.