Intel

AIKIDO-2026-11128

websocket-driver is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-ghhp-3qvg-889p Published 2 days ago

69

Medium Risk

This Affects:

RUBYwebsocket-driver
0.0.1 - 0.8.0
Fixed in 0.8.1
Are you affected? Scan for Free

TL;DR

Draft WebSocket protocol parsers decode length headers as arbitrarily growing integers from high-bit-set bytes. A peer can stream endless 0x80+ bytes so the parsed length keeps growing without delivering payload. Ruby arbitrary-precision integers let this consume unbounded memory on a single connection. The fix closes draft-75/76 connections when parsed length exceeds the configured maximum.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

websocket-driver is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 0.8.0.

How to fix this

Upgrade the websocket-driver library to the patch version.