websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.3, an application following the documented Node HTTP upgrade integration can pass a nonempty Node HTTP upgrade body to driver.io.write(body) before driver.start() initializes the RFC 6455 parser. An unauthenticated remote client can place WebSocket frame data in the same TCP chunk as the handshake headers, causing websocket.http() to process the body through uninitialized parser state, throw an uncaught exception, and crash the process. This issue is fixed in version 0.8.3.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub