CVE-2022-41940Socket Engine.io
Medium 6.5
Follow: this CVE · Socket · Socket Engine.io We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Engine.io.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| socket | engine.io | < 3.6.1 |
| socket | engine.io | ≥ 4.0.0 < 6.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory