Vulnerability GHSA-ghhp-3qvg-889p

Medium Risk
MEDIUM RISK
CVSS Score: 6.0
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
3 months ago
July 15, 2026 at 10:01 PM UTC
websocket-driver: Memory exhaustion via abuse of protocol length headers
0.1.0 - 0.8.0
0.1.0 - 0.8.0

Summary

websocket-driver: Memory exhaustion via abuse of protocol length headers

Details

Impact

The frame format in draft versions of the WebSocket protocol includes a length header that allows an arbitrarily large integer to be encoded as a sequence of bytes with the high bit set. By sending an indefinite sequence of bytes with values 0x80 or above, a server or client can make the other peer parse these bytes into an ever-growing integer. Since Ruby integers are arbitrary precision, this can be used to make a WebSocket connection consume an unbounded amount of memory and lead to the host process running out of memory.

Patches

The issue has been patched in version 0.8.1. All users should upgrade to this version.

Workarounds

No known workarounds exist.

Acknowledgements

This issue was discovered and reported by Pranjali Thakur, DepthFirst Security Research Team.

Impacted packages

Timeline

Published
3 months ago
July 15, 2026 at 10:01 PM UTC
Fixed (0.8.1)
5 months ago
June 04, 2026 at 04:29 PM UTC
Last Modified
1 month ago
September 10, 2026 at 03:50 AM UTC