Vulnerability · Published May 8, 2023 · Assigned by GitHub_M
CVE-2023-31125Uncaught exception in engine.io
Medium 6.5
In plain English
A medium-severity security flaw in engine.io from socketio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Engine.IO is the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO. An uncaught exception vulnerability was introduced in version 5.1.0 and included in version 4.1.0 of the `socket.io` parent package. Older versions are not impacted. 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 use depending packages like `socket.io`. This issue was fixed in version 6.4.2 of Engine.IO. There is no known workaround except upgrading to a safe version.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | engine.io | 6.4.2 | GHSA-q9mw-68c2-j6m5 |
Affected products (as reported)
Weakness: CWE-248 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/socketio/engine.io/security/advisories/GHSA-q9mw-68c2-j6m5 x_refsource_CONFIRM
- https://github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44 x_refsource_MISC
- https://github.com/socketio/engine.io/releases/tag/6.4.2 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20230622-0002/