websocket-driverの脆弱性で、細工したpongフレームを送られるとサービス妨害を受ける
Summary
認証されていない遠隔の相手が、pongフレームを1つ送るだけでプロセスを停止させられる脆弱性です。影響はwebsocket-driver(npm版のパッケージ名はwebsocket-driver-node)の0.8.0より前のバージョンで、Node.js v22以前で起きるとされています。修正版の0.8.0に更新してください。
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.
認証されていない遠隔の相手が、pongフレームを1つ送るだけでプロセスを停止させられる脆弱性です。影響はwebsocket-driver(npm版のパッケージ名はwebsocket-driver-node)の0.8.0より前のバージョンで、Node.js v22以前で起きるとされています。修正版の0.8.0に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| fayewebsocket-driver-node | — | Not listed |
| npmwebsocket-driver |
< 0.8.0→ 0.8.0 |
0.8.0 |
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.0, pong payloads are used directly as property names in an ordinary JavaScript callback object, allowing inherited Object properties to be selected even when no matching ping callback was registered. An unauthenticated remote peer can send a pong whose payload names a property such as proto or hasOwnProperty, causing the driver to call a non-callback value or an unbound built-in method and crash the process on Node.js v22 and below. This issue is fixed in version 0.8.0.
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