CyberRota Analysis
AI-GeneratedThe websocket-driver library, prior to version 0.7.5, is vulnerable when used with the permessage-deflate extension, allowing WebSocket servers or clients to accept oversized messages that exceed the configured maximum size. This flaw arises because the size check only considers the compressed data length, potentially leading to resource exhaustion and application instability. Developers and organizations utilizing this library should prioritize updating to version 0.7.5 to mitigate the risk of unexpected resource consumption.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.7.5, if this library is used with the permessage-deflate extension, a WebSocket server or client can be made to accept messages that are larger than the configured maximum message size because the limit is checked against the message frames' length headers, which give the size of the compressed data, not the size after decompression in lib/websocket/driver/hybi.js. This can lead to applications accepting larger messages than expected and exceeding their intended resource usage. This issue is fixed in version 0.7.5.