websocket-driver: Excessive memory use caused by draft-75/76 bufferingGHSA-q3c8-h5pg-2836
HIGHFix: faye/websocket-driver-ruby@5a0bd6fGHSA-q3c8-h5pg-2836 is a high-severity (CVSS 7.5) CWE-770 vulnerability. A fix is available — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Description
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.2, a server created with WebSocket::Driver.server() and allow_drafts enabled can select the draft-75/76 delimited-frame parser, which continues buffering an unterminated message beyond max_length. An unauthenticated remote client can start a legacy draft text frame and omit its terminating delimiter, causing memory consumption to grow until the server process crashes. This issue is fixed in version 0.9.2.
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Fix
Upgrade the affected component to the fixed release for GHSA-q3c8-h5pg-2836, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-q3c8-h5pg-2836 in your dependencies?
Find it across your dependency tree, including transitive dependencies.