<?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-02T10:01:59.151229+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-140003</id>
    <title>fkie_cve-2026-140003</title>
    <updated>2026-12-02T10:01:59.154382+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, the draft76 handshake parser derives integers from Sec-WebSocket-Key1 and Sec-WebSocket-Key2 by extracting digits and dividing by the number of spaces, then writes the results as unsigned 32-bit values. An unauthenticated remote client can supply a key whose derived value exceeds 32 bits, causing a Buffer range exception that crashes the process on Node.js v22 and below. This issue is fixed in version 0.8.0.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-140003"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-c4gv-fww2-jp3r</id>
    <title>GHSA-c4gv-fww2-jp3r — websocket-driver: Denial of service triggered by malformed Sec-WebSocket-Key1 header</title>
    <updated>2026-12-02T10:01:59.154592+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 an instant crash and denial of service by sending a WebSocket draft76 handshake with specially crafted headers.</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. The `draft76` version's handshake involves the client sending two headers named `Sec-WebSocket-Key1` and `Sec-WebSocket-Key2`. A value is derived from each of these by extracting digits from them and dividing this value by the number of spaces in the header string. The derived values are each written into a buffer which is then hashed, and this process expects the values to fit inside 32 bits.</p>
<p>If the values are larger than 32 bits, this triggers an exception in Node's `Buffer` module and this causes the process to crash.</p>
<p>To mitigate this, the driver has been fixed to reject values that are too large, 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…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-c4gv-fww2-jp3r"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/msrc_cve-2026-140003</id>
    <title>msrc_CVE-2026-140003 — websocket-driver: Denial of service triggered by malformed Sec-WebSocket-Key1 header</title>
    <updated>2026-12-02T10:01:59.154833+00:00</updated>
    <content>msrc_CVE-2026-140003</content>
    <link href="https://db.gcve.eu/vuln/msrc_cve-2026-140003"/>
  </entry>
</feed>
