websocket-driver: Denial of service triggered by malformed Sec-WebSocket-Key1 header (faye websocket-driver-node)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.62 % · percentile 51 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- Affected products
- faye · websocket-driver-node
- NVD status
- Received
Description
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.
Weaknesses (CWE)
- CWE-248 — Uncaught Exception
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-c4gv-fww2-jp3r — websocket-driver: Denial of service triggered by malformed Sec-WebSocket-Key1 header
European references
- ENISA EUVD · EUVD-2026-139726
- GCVE · GCVE-0-2026-140003
Affected products
| Product | Affected versions |
|---|---|
| faye · websocket-driver-node | affected : < 0.8.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |