Live threats

All CVEs / Socket

CVE-2022-21676Socket Engine.io

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.5%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Jan 12, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-754, CWE-755
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/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 starting from version `4.0.0`, including those who uses depending packages like `socket.io`. Versions prior to `4.0.0` are not impacted. A fix has been released for each major branch, namely `4.1.2` for the `4.x.x` branch, `5.2.1` for the `5.x.x` branch, and `6.1.1` for the `6.x.x` branch. There is no known workaround except upgrading to a safe version.

Original NVD text.

What to do

  1. Apply the vendor's security update for Engine.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 engine.io ≥ 4.0.0 < 4.1.2 4.1.2 npm install engine.io@4.1.2
npm engine.io ≥ 5.0.0 < 5.2.1 5.2.1 npm install engine.io@5.2.1
npm engine.io ≥ 6.0.0 < 6.1.1 6.1.1 npm install engine.io@6.1.1

Per OSV / GitHub Advisories (GHSA-273r-mgr4-v34f). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
socketengine.io≥ 4.0.0 < 4.1.2
socketengine.io≥ 5.0.0 < 5.2.1
socketengine.io≥ 6.0.0 < 6.1.1

Official sources

References

Links published by the sources. Open them with care.