Source: node-websocket-driver
Version: 0.7.5+~cs0.6.14-1
X-Debbugs-CC: [email protected]
Severity: important
Tags: security upstream

Hi,

The following vulnerabilities were published for node-websocket-driver.

Updating to at least 0.9.2 will resolve all issues which are spread in
fixed version across multipe upstream release. As there were many
issues I made not individual bugs, as the common affected set in
Debian should be covered.

CVE-2026-144303[0]:
| websocket-driver is a WebSocket protocol handler with pluggable
| input and output. Prior to 0.8.3, an application following the
| documented Node HTTP upgrade integration can pass a nonempty Node
| HTTP upgrade body to driver.io.write(body) before driver.start()
| initializes the RFC 6455 parser. An unauthenticated remote client
| can place WebSocket frame data in the same TCP chunk as the
| handshake headers, causing websocket.http() to process the body
| through uninitialized parser state, throw an uncaught exception, and
| crash the process. This issue is fixed in version 0.8.3.


CVE-2026-144302[1]:
| websocket-driver is a WebSocket protocol handler with pluggable
| input and output. Prior to 0.8.3, after a server calls close(), the
| parser continues accepting client message data while waiting for the
| peer's Close response but does not enforce maxLength as it normally
| would. An unauthenticated client can ignore the server's Close frame
| and continue a large message over a half-open TCP connection,
| causing indefinite buffering, memory exhaustion, and a server crash.
| This issue is fixed in version 0.8.3.


CVE-2026-144295[2]:
| websocket-driver is a WebSocket protocol handler with pluggable
| input and output. Prior to 0.8.3, a server with allowDrafts enabled
| does not enforce maxLength while the draft-75/76 parser buffers an
| unterminated delimited message. An unauthenticated remote client can
| start a legacy frame without sending its terminator and continue
| supplying data, causing the server to retain memory beyond the
| configured limit until the process runs out of memory and crashes.
| Disabling allowDrafts prevents access to this legacy protocol path.
| This issue is fixed in version 0.8.3.


CVE-2026-144294[3]:
| websocket-driver is a WebSocket protocol handler with pluggable
| input and output. Prior to 0.9.2, after a server calls close(), the
| closing parser state can continue accepting message data from a
| client that ignores the Close frame without enforcing max_length. A
| client can exploit a half-open TCP connection to send an oversized
| message while the server waits for the peer's Close response,
| causing unbounded buffering and an unauthenticated remote server
| crash. This issue is fixed in version 0.9.2.


CVE-2026-144293[4]:
| websocket-driver is a WebSocket protocol handler with pluggable
| input and output. Prior to 0.9.2, a server created with
| WebSocket::Driver.server() and allow_drafts enabled can select the
| draft-75/76 delimited-frame parser, which continues buffering an
| unterminated message beyond max_length. An unauthenticated remote
| client can start a legacy draft text frame and omit its terminating
| delimiter, causing memory consumption to grow until the server
| process crashes. This issue is fixed in version 0.9.2.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-144303
    https://www.cve.org/CVERecord?id=CVE-2026-144303
[1] https://security-tracker.debian.org/tracker/CVE-2026-144302
    https://www.cve.org/CVERecord?id=CVE-2026-144302
[2] https://security-tracker.debian.org/tracker/CVE-2026-144295
    https://www.cve.org/CVERecord?id=CVE-2026-144295
[3] https://security-tracker.debian.org/tracker/CVE-2026-144294
    https://www.cve.org/CVERecord?id=CVE-2026-144294
[4] https://security-tracker.debian.org/tracker/CVE-2026-144293
    https://www.cve.org/CVERecord?id=CVE-2026-144293

Regards,
Salvatore

Reply via email to