CVE-2022-21676
HIGH 7.5CVSS 3.1Uncaught Exception in engine.io
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.
- Published
- 12 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-754CWE-755
- Also known as
- GHSA-273r-mgr4-v34f
- Sources
- NVDJSONOSV GHSA-273r-mgr4-v34fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | socket | engine.iocpe:2.3:a:socket:engine.io:*:*:*:*:*:node.js:*:* |
>= 4.0.0, < 4.1.2 | 4.1.2 |
| NVD | socket | engine.iocpe:2.3:a:socket:engine.io:*:*:*:*:*:node.js:*:* |
>= 5.0.0, < 5.2.1 | 5.2.1 |
| NVD | socket | engine.iocpe:2.3:a:socket:engine.io:*:*:*:*:*:node.js:*:* |
>= 6.0.0, < 6.1.1 | 6.1.1 |
| OSV | npm | engine.io | >= 4.0.0, < 4.1.2 | 4.1.2 |
| OSV | npm | engine.io | >= 5.0.0, < 5.2.1 | 5.2.1 |
| OSV | npm | engine.io | >= 6.0.0, < 6.1.1 | 6.1.1 |
References
- https://github.com/socketio/engine.io/commit/66f889fc1d966bf5bfa0de1939069153643874ab · Patch, Third Party Advisory, WEB
- https://github.com/socketio/engine.io/commit/a70800d7e96da32f6e6622804ef659ebc58659db · Patch, Third Party Advisory, WEB
- https://github.com/socketio/engine.io/commit/c0e194d44933bd83bf9a4b126fca68ba7bf5098c · Patch, Third Party Advisory, WEB
- https://github.com/socketio/engine.io/releases/tag/4.1.2 · Release Notes, Third Party Advisory, WEB
- https://github.com/socketio/engine.io/releases/tag/5.2.1 · Release Notes, Third Party Advisory, WEB
- https://github.com/socketio/engine.io/releases/tag/6.1.1 · Release Notes, Third Party Advisory, WEB
- https://github.com/socketio/engine.io/security/advisories/GHSA-273r-mgr4-v34f · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20220209-0002/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-21676 · ADVISORY
- https://github.com/socketio/engine.io · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 12 Jan 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Jan 2022)