Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade websocket-driver to version 0.8.0 or higher.
websocket-driver is a websocket protocol handler with pluggable I/O.
Affected versions of this package are vulnerable to Data Amplification in the inflate handling in lib/session.js, which fully decompresses an incoming WebSocket frame before any size check and does not receive the maxLength limit configured on websocket-driver or faye-websocket. An unauthenticated remote client that negotiates the permessage-deflate extension can send a small, highly compressible message of one repeated byte, around 1/1000 of its decompressed size, and force the server to allocate a buffer about 1000 times the received frame, bypassing the configured limit and crashing the process when memory runs out. This affects any server whose WebSocket stack adds the permessage-deflate extension, and full remediation requires upgrading websocket-extensions and websocket-driver as well so the maxLength option is forwarded to the extension.
This vulnerability can be avoided without upgrading by removing the permessage-deflate extension from the server configuration, which disables the compression path entirely.