Skip to content
Heist/ feed
Back to feed
High

websocket-driver: Denial of service via malformed Host header

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-61666
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:35 UTC · Revision 1

Source evidence

websocket-driver: Denial of service via malformed Host header

core-osv · Original source

Published 17 Aug 2026, 16:16 UTC

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.

osv:CVE-2026-61666
Complete source record
{
  "id": "3e7de872553a37ccd0e897ca1fffb8544cd8cde4fc82d090e1221e3126aaa4a1",
  "url": "https://osv.dev/vulnerability/CVE-2026-61666",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "websocket-driver: Denial of service via malformed Host header",
    "summary": "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.",
    "evidence": "osv:CVE-2026-61666",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-61666",
      "aliases": [
        "CVE-2026-61666",
        "GHSA-2x63-gw47-w4mm"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/faye/websocket-driver-ruby",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "49e230b252817632c1ab14a8c501fa460d5fa9bf"
                },
                {
                  "fixed": "7d6fd87759a2fdc83590d3b49ffa661dc53fa128"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.8.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7d6fd87759a2fdc83590d3b49ffa661dc53fa128"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.8.1",
            "0.8.0",
            "0.7.7",
            "0.7.6",
            "0.7.5",
            "0.7.4",
            "0.7.3",
            "0.7.2",
            "0.7.1",
            "0.7.0",
            "0.6.5",
            "0.6.4",
            "0.6.3",
            "0.6.2",
            "0.6.1",
            "0.6.0",
            "0.5.4",
            "0.5.3",
            "0.5.2",
            "0.5.1",
            "0.5.0",
            "0.4.0",
            "0.3.5",
            "0.3.4",
            "0.3.3",
            "0.3.2",
            "0.3.1",
            "0.3.0",
            "0.2.3",
            "0.2.2",
            "0.2.1",
            "0.2.0",
            "0.1.0",
            "0.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61666.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.664935959Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61666.json",
        "https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-2x63-gw47-w4mm",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-61666",
        "https://github.com/faye/websocket-driver-ruby/commit/7d6fd87759a2fdc83590d3b49ffa661dc53fa128"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-248"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61666.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-61666",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492494,
  "published_at": "2026-08-17T16:16:33.374+00:00"
}