websocket-driverに遠隔からメモリを枯渇させられる脆弱性
Summary
websocket-driverには、長さゼロの分割フレームを送り続けられることで、Node.jsプロセスのメモリが枯渇して停止する脆弱性があります。認証なしの遠隔のクライアントから攻撃できるとされ、CVSSは7.5です。影響するのは0.8.1より前の版で、0.8.1で修正されています。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には、長さゼロの分割フレームを送り続けられることで、Node.jsプロセスのメモリが枯渇して停止する脆弱性があります。認証なしの遠隔のクライアントから攻撃できるとされ、CVSSは7.5です。影響するのは0.8.1より前の版で、0.8.1で修正されています。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, the fragmented-message buffer stores every received frame payload, including zero-length Buffer objects, until a final fragment arrives. An unauthenticated remote client can keep one message unfinished while sending an indefinite stream of zero-length continuation frames, causing the fragment array to grow until the Node.js process exhausts heap memory and crashes. This issue is fixed in version 0.8.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
- web github.com