Description
websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.8.2, WebSocket::Driver.server() passes a malformed Host header to URI.parse in lib/websocket/http/request.rb without catching URI::InvalidURIError, allowing a remote client to crash a TCP-backed WebSocket server when the application does not catch the error from parse(). This issue is fixed in version 0.8.2.
Published: 2026-08-17
Score: 8.9 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The WebSocket::Driver.server() method passes a malformed Host header to URI.parse without handling URI::InvalidURIError, causing the parser to raise an exception that terminates the server if unhandled. This flaw maps to CWE-248 and allows a remote client to trigger a crash by sending an invalid Host header, leading to a denial of service at the application level.

Affected Systems

The issue affects the faye websocket-driver-ruby library. All releases prior to 0.8.2 are vulnerable. Ruby applications using this library to host WebSocket services are at risk until the library is updated or guarded against the failure.

Risk and Exploitability

With a CVSS score of 8.9, this vulnerability is classified as High severity and is not listed in CISA’s KEV catalog. The EPSS score is not available, but the lack of a known public exploit suggests the risk of exploitation is moderate. An attacker who can reach the WebSocket endpoint can send a crafted Host header to cause an unhandled exception, crash the server, and deny service to legitimate users. The attack requires network access to the WebSocket port and does not rely on privilege escalation or advanced scripting.

Generated by OpenCVE AI on August 17, 2026 at 17:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade websocket-driver-ruby to version 0.8.2 or later.
  • Wrap WebSocket::Driver.server() calls in exception handling to catch URI::InvalidURIError and prevent server crashes.
  • Configure a reverse proxy or firewall rule to validate or reject malformed Host headers before they reach the application.

Generated by OpenCVE AI on August 17, 2026 at 17:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-2x63-gw47-w4mm websocket-driver-ruby: Denial of service via malformed Host header
History

Mon, 17 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Faye
Faye websocket-driver-ruby
Vendors & Products Faye
Faye websocket-driver-ruby

Mon, 17 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 17 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Description websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.8.2, WebSocket::Driver.server() passes a malformed Host header to URI.parse in lib/websocket/http/request.rb without catching URI::InvalidURIError, allowing a remote client to crash a TCP-backed WebSocket server when the application does not catch the error from parse(). This issue is fixed in version 0.8.2.
Title websocket-driver: Denial of service via malformed Host header
Weaknesses CWE-248
References
Metrics cvssV4_0

{'score': 8.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H'}


Subscriptions

Faye Websocket-driver-ruby
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-17T17:00:52.736Z

Reserved: 2026-07-10T18:25:21.467Z

Link: CVE-2026-61666

cve-icon Vulnrichment

Updated: 2026-08-17T17:00:25.644Z

cve-icon NVD

Status : Received

Published: 2026-08-17T17:16:39.917

Modified: 2026-08-17T17:16:39.917

Link: CVE-2026-61666

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T17:45:03Z

Weaknesses