Uncaught exception in engine.io
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- High · Low · High
- Fix status
- Partial Red Hat: 1 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-248.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| socketio | engine.io | before 3.6.1; 4.0.0 to before 6.2.1 | 3.6.1, 6.2.1 | Patch available | CNA |
| — | engine.io (npm) | before 3.6.1 | 3.6.1 | Patch available | GHSA-r7qp-cfhv-p84w |
| — | engine.io (npm) | 4.0.0 to before 6.2.1 | 6.2.1 | Patch available | GHSA-r7qp-cfhv-p84w |
- engine.io Vendorsocketio Affected before 3.6.1; 4.0.0 to before 6.2.1 Fixed in 3.6.1, 6.2.1 Patch available CNA
- engine.io (npm) Vendor— Affected before 3.6.1 Fixed in 3.6.1 Patch available GHSA-r7qp-cfhv-p84w
- engine.io (npm) Vendor— Affected 4.0.0 to before 6.2.1 Fixed in 6.2.1 Patch available GHSA-r7qp-cfhv-p84w
Remediation
- Fix · CNA engine.io (socketio) Fixed in 3.6.1, 6.2.1
- Fix · GHSA-r7qp-cfhv-p84w engine.io (npm) Fixed in 3.6.1 Advisory →
- Fix · GHSA-r7qp-cfhv-p84w engine.io (npm) Fixed in 6.2.1 Advisory →
Red Hat 1 advisory
- RHSA-2023:3954 Released 2023-06-29 · Red Hat rating CriticalRed Hat Fuse 7.12 release and security update
- Red Hat Fuse 7.12
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Data Grid 7 | Affected | No fix planned: Out of support scope |
| Red Hat Quay 3 | Affected | No fix planned: Will not fix |
| Red Hat Fuse 7.12 | Fixed | RHSA-2023:3954 |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-41940
- 2026-10-03 Alias added: GHSA-r7qp-cfhv-p84w
References
Patch 2
More socketio Engine.io vulnerabilities
- TI-2022-06052 Uncaught Exception in engine.io CVSS 3.1HIGH 7.5
- TI-2026-42594 Socket.IO: Engine.IO Polling Transport Connection Exhaustion CVSS 3.1HIGH 7.5
- TI-2026-42593 Socket.IO: Engine.IO WebTransport SID DoS CVSS 3.1HIGH 7.5
- TI-2020-18427 Engine.IO before 4.0.0 allows attackers to cause a denial of service (resource… CVSS 3.1HIGH 7.5
- TI-2023-14835 Uncaught exception in engine.io CVSS 3.1MEDIUM 6.5
Sources
- CVE-2022-41940 · CVE Program
- CVE-2022-41940 · NVD
- FIRST EPSS
- GHSA-r7qp-cfhv-p84w · GitHub Advisory Database · CC BY 4.0
- CVE-2022-41940 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences