Skip to content

CVE-2022-41940 Uncaught exception in engine.io

MediumCVSS 6.5 EPSS 2.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm engine.io(npm) < 3.6.1; >= 4.0.0, < 6.2.1 3.6.1, 6.2.1 Fixed
Socket engine.io < 3.6.1; >= 4.0.0, < 6.2.1 3.6.1, 6.2.1 Fixed
socketio engine.io = < 3.6.1; = >= 4.0.0, < 6.2.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm engine.io(npm) < 3.6.1 3.6.1
npm engine.io(npm) >= 4.0.0, < 6.2.1 6.2.1
socketio engine.io = < 3.6.1 No fix listed
socketio engine.io = >= 4.0.0, < 6.2.1 No fix listed
Socket engine.io < 3.6.1 3.6.1
Socket engine.io >= 4.0.0, < 6.2.1 6.2.1

References