websocket-driverの脆弱性によりメモリが枯渇し、サーバーがクラッシュするおそれ
Summary
websocket-driverの0.9.1より前のバージョンには、WebSocketのclose後に届いたデータをバッファに貯め続ける脆弱性があります。認証のない遠隔の攻撃者がこの仕組みを使うと、サーバーのメモリを使い果たしてプロセスがクラッシュするおそれがあります。対策は0.9.1への修正版の適用です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
websocket-driverの0.9.1より前のバージョンには、WebSocketのclose後に届いたデータをバッファに貯め続ける脆弱性があります。認証のない遠隔の攻撃者がこの仕組みを使うと、サーバーのメモリを使い果たしてプロセスがクラッシュするおそれがあります。対策は0.9.1への修正版の適用です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| fayewebsocket-driver-ruby | — | Not listed |
| rubygemswebsocket-driver |
< 0.9.1→ 0.9.1 |
0.9.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-140015 ruby-websocket-driver No fixed version in this record
Original description The description as published by the source.
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.1, a server piping socket bytes into websocket-driver continued adding data to an internal buffer after a WebSocket close frame caused the driver to emit a close event. Because TCP permits the peer to keep a half-open connection and continue sending bytes, the unconsumed buffer could grow indefinitely until an unauthenticated remote attacker exhausted server memory and crashed the process. This issue is fixed in version 0.9.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com