websocket-driver npm Package Under Investigation: Resource Limit Bypass
The websocket-driver npm package, when used with the permessage-deflate extension, is reportedly vulnerable to a resource limit bypass. This can lead to applications accepting larger messages than expected and exceeding their intended resource usage.
What happened
The websocket-driver npm package, when used with the permessage-deflate extension, appears to accept messages larger than the configured maximum size. This can result in applications accepting larger messages than expected, potentially leading to exceeding their intended resource usage. The vulnerability is tracked under GHSA-33PH-FCCM-39PJ. To mitigate this issue, it is recommended to upgrade to websocket-driver@0.8.1. Affected components include websocket-driver (npm) versions prior to 0.8.1. Further details and confirmation should be obtained from the primary sources listed.
How 0Day mitigates this
websocket-driver is anywhere in your dependency tree, the engineers who own the affected repositories get a push alert the moment it is flagged — no manual audit to remember to run.Read how this differs from waiting on a scanner to catch a known advisory, or see the exact, read-only access 0Day needs to do this for an organization.