CVE-2022-21676Socket Engine.io
High 7.5 No auth needed
Follow: this CVE · Socket · Socket Engine.io We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Engine.io.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| socket | engine.io | ≥ 4.0.0 < 4.1.2 |
| socket | engine.io | ≥ 5.0.0 < 5.2.1 |
| socket | engine.io | ≥ 6.0.0 < 6.1.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 Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory
- security.netapp.com Third Party Advisory