CVE-2022-41940
MEDIUM 6.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, 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.
- Published
- 22 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-248
- Also known as
- GHSA-r7qp-cfhv-p84w
- Sources
- NVDJSONOSV GHSA-r7qp-cfhv-p84wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | socket | engine.iocpe:2.3:a:socket:engine.io:*:*:*:*:*:node.js:*:* |
< 3.6.1 | 3.6.1 |
| NVD | socket | engine.iocpe:2.3:a:socket:engine.io:*:*:*:*:*:node.js:*:* |
>= 4.0.0, < 6.2.1 | 6.2.1 |
| OSV | npm | engine.io | < 3.6.1 | 3.6.1 |
| OSV | npm | engine.io | >= 4.0.0, < 6.2.1 | 6.2.1 |
References
- https://github.com/socketio/engine.io/commit/425e833ab13373edf1dd5a0706f07100db14e3c6 · Patch, Third Party Advisory, WEB
- https://github.com/socketio/engine.io/commit/83c4071af871fc188298d7d591e95670bf9f9085 · Patch, Third Party Advisory, WEB
- https://github.com/socketio/engine.io/security/advisories/GHSA-r7qp-cfhv-p84w · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-41940 · ADVISORY
- https://github.com/socketio/engine.io · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 22 Nov 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Nov 2022)