Message corruption and denial of service in websocket-driver
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-248.
Summary
websocket-driver before 0.9.0 is affected by a parsing flaw in draft75 and draft76 WebSocket connections. A short crafted byte sequence is handled incorrectly, which is tied to CWE-248. An unauthenticated remote client can use it to duplicate an application message or crash the server. Draft protocols are disabled by default after the fix and require allow_drafts: true to enable.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.0, message parsing for draft75 and draft76 WebSocket connections could incorrectly handle a short crafted byte sequence. An unauthenticated remote client could use this parsing flaw to duplicate an application message or crash the server. Draft protocols are disabled by default after the fix and require allow_drafts: true to enable. This issue is fixed in version 0.9.0.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade websocket-driver-ruby to version 0.9.0, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA websocket-driver-ruby (faye) Fixed in 0.9.0
Timeline
- 2026-11-30 Threatist record created from CVE-2026-140016
References
Other 4
- https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-pf93-24xc-xgxc
- https://github.com/faye/websocket-driver-ruby/commit/20603e3dc87f11ab91c9519f625d9b3bdc1e6b7f
- https://github.com/faye/websocket-driver-ruby/commit/d2152940fae66b9093db93256db7ebff0b70247e
- https://github.com/faye/websocket-driver-ruby/releases/tag/0.9.0
More faye vulnerabilities
- TI-2026-96606 Decompression bomb in Faye websocket-driver via permessage-deflate CVSS 4.0HIGH 8.7
- TI-2026-101204 Crafted input in websocket-driver causes duplicate messages or crash CVSS 3.1CRITICAL 9.1
- TI-2026-101214 Memory exhaustion in permessage-deflate-ruby message decompression CVSS 3.1HIGH 7.5
- TI-2026-101207 Pong payload triggers crash in websocket-driver CVSS 3.1HIGH 7.5
- TI-2026-101203 Denial of service in websocket-driver from malformed Sec-WebSocket-Key1 header CVSS 3.1HIGH 7.5
- TI-2026-101202 Memory exhaustion in websocket-driver buffers data sent after close CVSS 3.1HIGH 7.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences