High severity · published Jan 12, 2022
CVE-2022-21676
Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO
7.5
CVSS
2.8%
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 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.8% · higher than 86% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EN
Engine.io · Socket
4.0.0 before 4.1.2; 5.0.0 before 5.2.1; 6.0.0 before 6.1.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-21676
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-21676
Patch
https://github.com/socketio/engine.io/commit/66f889fc1d966bf5bfa0de1939069153643874ab
Patch
https://github.com/socketio/engine.io/commit/a70800d7e96da32f6e6622804ef659ebc58659db
Patch
https://github.com/socketio/engine.io/commit/c0e194d44933bd83bf9a4b126fca68ba7bf5098c
Release Notes
https://github.com/socketio/engine.io/releases/tag/4.1.2
Release Notes
https://github.com/socketio/engine.io/releases/tag/5.2.1
Release Notes
https://github.com/socketio/engine.io/releases/tag/6.1.1
More from Engine.io
7.5
CVE-2026-59725
Socket.IO: Engine.IO Polling Transport Connection Exhaustion
7.5
CVE-2026-59724
Socket.IO: Engine.IO WebTransport SID DoS
7.5
CVE-2020-36048
Engine.IO before 4.0.0 allows attackers to cause a denial of service (resource consumption) via a POST request to the long polling transport
6.5
CVE-2023-31125
Uncaught exception in engine.io
6.5
CVE-2022-41940
Uncaught exception in engine.io
