websocket-driverに認証なしで메モリを使い尽くされる脆弱性
Summary
websocket-driverは、クローズフレーム受信後も接続を開いたままデータを送り続けられると、サーバーのメモリを使い果たして停止するおそれがあります。影響を受けるのは0.8.1より前のバージョンで、0.8.1で修正されています。対象のwebsocket-driver-nodeを0.8.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.8.1より前のバージョンで、0.8.1で修正されています。対象のwebsocket-driver-nodeを0.8.1以上に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| fayewebsocket-driver-node | — | Not listed |
| npmwebsocket-driver |
< 0.8.1→ 0.8.1 |
0.8.1 |
Original description The description as published by the source.
websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.1, receiving a WebSocket close frame moves the driver into a state where the parser no longer consumes input, but a half-open TCP client can continue sending bytes that the driver buffers in memory. An unauthenticated remote client can send one close frame, keep its side of the connection open, and stream data indefinitely until the server exhausts memory and crashes. This issue is fixed in version 0.8.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web security-advisories@github.com
- web github.com