CVE-2023-31125: engine.io Uncaught Exception vulnerability
(updated )
A specially crafted HTTP request can trigger an uncaught exception on the Engine.IO server, thus killing the Node.js process.
TypeError: Cannot read properties of undefined (reading 'handlesUpgrades')
at Server.onWebSocket (build/server.js:515:67)
This impacts all the users of the engine.io
package, including those who uses depending packages like socket.io
.
References
- github.com/advisories/GHSA-q9mw-68c2-j6m5
- github.com/socketio/engine.io
- github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44
- github.com/socketio/engine.io/releases/tag/6.4.2
- github.com/socketio/engine.io/security/advisories/GHSA-q9mw-68c2-j6m5
- nvd.nist.gov/vuln/detail/CVE-2023-31125
- security.netapp.com/advisory/ntap-20230622-0002
Detect and mitigate CVE-2023-31125 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →