<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Websocket-Driver (&lt; 0.8.2) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/websocket-driver--0.8.2/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 21 Jul 2026 18:36:13 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/websocket-driver--0.8.2/feed.xml" rel="self" type="application/rss+xml"/><item><title>Denial of Service in websocket-driver-ruby via Malformed Host Header (CVE-2026-61666)</title><link>https://feed.craftedsignal.io/briefs/2026-07-websocket-driver-dos/</link><pubDate>Tue, 21 Jul 2026 18:36:13 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-websocket-driver-dos/</guid><description>A denial of service vulnerability (CVE-2026-61666) exists in the websocket-driver-ruby library when used to implement a WebSocket server via `WebSocket::Driver.server()`, allowing a remote attacker to send a malformed `Host` header causing a `URI::InvalidURIError` exception and subsequent server process crash if unhandled.</description><content:encoded><![CDATA[<p>A high-severity denial of service (DoS) vulnerability, tracked as CVE-2026-61666, has been identified in the <code>websocket-driver-ruby</code> library, specifically affecting versions prior to 0.8.2. This vulnerability impacts applications that use the library to implement a WebSocket server via the <code>WebSocket::Driver.server()</code> method. An unauthenticated remote attacker can exploit this flaw by sending an HTTP request containing a malformed <code>Host</code> header, one that does not conform to the standard <code>host[:port]</code> string format. This malformed header triggers a <code>URI::InvalidURIError</code> exception within the library's parsing logic. If the vulnerable application does not explicitly catch this specific exception, the unhandled error will cause the server process to crash, leading to a complete denial of service for the affected WebSocket server. The issue has been patched in version 0.8.2, which includes error handling for invalid <code>Host</code> headers.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker identifies a target application running a WebSocket server using the <code>websocket-driver</code> library (versions prior to 0.8.2) through the <code>WebSocket::Driver.server()</code> method.</li>
<li>The attacker crafts a standard HTTP GET request intended for the WebSocket server.</li>
<li>The crafted request includes a <code>Host</code> header that is malformed, specifically containing characters or structures that violate the <code>host[:port]</code> format (e.g., <code>Host: invalid host.com</code>).</li>
<li>The <code>websocket-driver</code> library's internal parsing mechanisms attempt to process the malformed <code>Host</code> header received from the attacker's request.</li>
<li>During the parsing of the malformed <code>Host</code> header, the library encounters an invalid URI string, which raises a <code>URI::InvalidURIError</code> exception.</li>
<li>Because the vulnerable application utilizing the <code>websocket-driver</code> library does not have specific error handling in place to catch the <code>URI::InvalidURIError</code> exception from the <code>parse()</code> method, the exception propagates unhandled.</li>
<li>The unhandled exception causes the entire WebSocket server process to terminate abruptly, leading to a crash and making the service unavailable to legitimate users.</li>
<li>The attacker successfully achieves a denial of service, rendering the WebSocket server inoperable until manually restarted.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The successful exploitation of CVE-2026-61666 results in a denial of service (DoS) for affected WebSocket servers. When a malformed <code>Host</code> header is processed, a <code>URI::InvalidURIError</code> is raised. If the application does not explicitly catch this error, the server process will crash, making the WebSocket service completely unavailable. This can lead to significant downtime for any services relying on the WebSocket communication, disrupting real-time functionalities, data synchronization, or interactive applications. There are no specific victim numbers or targeted sectors mentioned, but any organization using the vulnerable <code>websocket-driver</code> gem in a server capacity is at risk.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch all instances of <code>websocket-driver</code> to version 0.8.2 or later immediately to mitigate CVE-2026-61666.</li>
<li>Deploy the provided Sigma rule to your SIEM to detect attempts at exploiting CVE-2026-61666 by identifying malformed <code>Host</code> headers.</li>
<li>Ensure webserver logs capture full HTTP request headers, especially the <code>Host</code> header, to enable detection of the patterns specified in the Sigma rule.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>denial-of-service</category><category>vulnerability</category><category>ruby</category><category>webserver</category></item></channel></rss>