Medium severity · published Nov 22, 2022
CVE-2022-41940
Uncaught exception in engine.io
6.5
CVSS
2.1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.1% · higher than 82% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EN
engine.io · socketio
< 3.6.1; >= 4.0.0, < 6.2.1 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-41940
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-41940
Patch
https://github.com/socketio/engine.io/commit/425e833ab13373edf1dd5a0706f07100db14e3c6
Patch
https://github.com/socketio/engine.io/commit/83c4071af871fc188298d7d591e95670bf9f9085
Exploit
https://github.com/socketio/engine.io/security/advisories/GHSA-r7qp-cfhv-p84w
More from engine.io
7.5
CVE-2026-59725
Socket.IO: Engine.IO Polling Transport Connection Exhaustion
6.5
CVE-2023-31125
Uncaught exception in engine.io
