Skip to content

CVE-2022-21676 Uncaught Exception in engine.io

HighCVSS 7.5 EPSS 2.9%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · 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 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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm engine.io(npm) >= 4.0.0, < 4.1.2; >= 5.0.0, < 5.2.1; >= 6.0.0, < 6.1.1 4.1.2, 5.2.1, 6.1.1 Fixed
Socket engine.io >= 4.0.0, < 4.1.2; >= 5.0.0, < 5.2.1; >= 6.0.0, < 6.1.1 4.1.2, 5.2.1, 6.1.1 Fixed
socketio engine.io = >= 4.0.0, < 4.1.2; = >= 5.0.0, < 5.2.1; = >= 6.0.0, < 6.1.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm engine.io(npm) >= 4.0.0, < 4.1.2 4.1.2
npm engine.io(npm) >= 5.0.0, < 5.2.1 5.2.1
npm engine.io(npm) >= 6.0.0, < 6.1.1 6.1.1
socketio engine.io = >= 4.0.0, < 4.1.2 No fix listed
socketio engine.io = >= 5.0.0, < 5.2.1 No fix listed
socketio engine.io = >= 6.0.0, < 6.1.1 No fix listed
Socket engine.io >= 4.0.0, < 4.1.2 4.1.2
Socket engine.io >= 5.0.0, < 5.2.1 5.2.1
Socket engine.io >= 6.0.0, < 6.1.1 6.1.1

References