<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-02T09:33:15.968770+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/fkie_cve-2026-140004</id>
    <title>fkie_cve-2026-140004</title>
    <updated>2026-12-02T09:33:15.970336+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.0, a bug in the draft75 and draft76 message parser mishandles a short crafted byte sequence. An unauthenticated remote client can send this sequence over a legacy WebSocket connection, causing a received message to be emitted twice or causing the server process to crash. This issue is fixed in version 0.8.0.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-140004"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-v36f-rjg3-3v46</id>
    <title>GHSA-v36f-rjg3-3v46 — websocket-driver: Message corruption and denial of service triggered by crafted client message</title>
    <updated>2026-12-02T09:33:15.970400+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: websocket-driver</p>
<p>### Summary</p>
<p>An unauthenticated remote client can trigger message corruption and denial of service by starting a draft75 or draft76 WebSocket connection and sending a brief sequence of bytes. The byte sequence is parsed incorrectly and can lead to duplicate messages or server crash.</p>
<p>### Details</p>
<p>The `websocket-driver` library supports earlier versions of the WebSocket protocol from before the RFC was standardised, particularly the `draft75` and `draft76` versions. There is a bug in the parsing of messages in these versions that can lead to the server duplicating received messages or crashing when a client sends a specific sequence of bytes over a connection being handled by this parser. No special conditions are required and the input message that triggers this behaviour is very short, so an attacker can easily crash a remote server.</p>
<p>To mitigate this, the parser bug has been fixed, and support for draft protocol versions has been disabled by default. Servers wanting to continue to support these versions need to pass the option `allowDrafts: true` when creating a driver instance.</p>
<p>### Proof of concept</p>
<p>Given a server using `websocket-driver` to handle WebSocket connections:</p>
<p>```js
const net = require('net')
const ws = require('websocket-driver')</p>
<p>let server = net.createServer((conn) =&gt; {
  let driver = ws.server()</p>
<p>driver.on('connect', () =&gt; {
    if (ws.isWebSocket(driver)) driver.start()
  })</p>
<p>driver.on('close', () =&gt; conn.end())
  conn.pipe(driver.io).pipe(conn)</p>
<p>d…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-v36f-rjg3-3v46"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/msrc_cve-2026-140004</id>
    <title>msrc_CVE-2026-140004 — websocket-driver: Message corruption and denial of service triggered by crafted client message</title>
    <updated>2026-12-02T09:33:15.970472+00:00</updated>
    <content>msrc_CVE-2026-140004</content>
    <link href="https://db.gcve.eu/vuln/msrc_cve-2026-140004"/>
  </entry>
</feed>
