Source: node-websocket-driver
Version: 0.7.4+~cs0.6.14-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: [email protected], Debian Security Team <[email protected]>

Hi,

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

CVE-2026-54490[0]:
| websocket-driver is a WebSocket protocol handler with pluggable I/O.
| Prior to 0.7.5, if this library is used with the permessage-deflate
| extension, a WebSocket server or client can be made to accept
| messages that are larger than the configured maximum message size
| because the limit is checked against the message frames' length
| headers, which give the size of the compressed data, not the size
| after decompression in lib/websocket/driver/hybi.js. This can lead
| to applications accepting larger messages than expected and
| exceeding their intended resource usage. This issue is fixed in
| version 0.7.5.


CVE-2026-54466[1]:
| websocket-driver is a WebSocket protocol handler with pluggable I/O.
| Prior to 0.7.5, the frame format in draft versions of the WebSocket
| protocol includes a length header that allows an arbitrarily large
| integer to be encoded as a sequence of bytes with the high bit set.
| By sending an indefinite sequence of bytes with values 0x80 or
| above, a client can make the server parse these bytes into an ever-
| growing integer in lib/websocket/driver/draft75.js; because
| JavaScript numbers are 64-bit floating point values, this number
| will eventually lose precision and lead to the subsequent payload
| being parsed incorrectly. This issue is fixed in version 0.7.5.


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-54490
    https://www.cve.org/CVERecord?id=CVE-2026-54490
[1] https://security-tracker.debian.org/tracker/CVE-2026-54466
    https://www.cve.org/CVERecord?id=CVE-2026-54466

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

Reply via email to