CVE-2022-41940: socket engine.io Uncaught Exception
Vulnerability summary
CVE-2022-41940 is a high (CVSS 7.1) Uncaught Exception vulnerability in socket engine.io. EPSS estimates a 2.07% chance of exploitation in the next 30 days, higher than 81.1% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 22-11-2022PublishedVulnerability first disclosed.
- 22-04-2025Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
2.07%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
+0.08 pp
From 1.99% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundEngine.Io
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Npm1 product
- engine.io< 3.6.1 | ≥ 4.0.0, < 6.2.1
Socket1 product
- engine.io< 3.6.1 | ≥ 4.0.0, < 6.2.1
Socketio1 product
- engine.io< 3.6.1 | ≥ 4.0.0, < 6.2.1
3 vendors · 3 products
References
5 links- github.com/socketio/engine.io/commit/425e833ab13373edf1dd5a0706f07100db14e3c6WEBPatchThird Party Advisory
- github.com/socketio/engine.io/commit/83c4071af871fc188298d7d591e95670bf9f9085WEBPatchThird Party Advisory