ws: Memory exhaustion DoS via unbounded automatic pong responses
영향
| 패키지 | 영향받는 버전 | 수정 버전 |
|---|---|---|
| npm:ws | < 5.2.8 | 5.2.8 |
| npm:ws | >= 6.0.0, < 6.2.7 | 6.2.7 |
| npm:ws | >= 7.0.0, < 7.5.14 | 7.5.14 |
| npm:ws | >= 8.0.0, < 8.23.0 | 8.23.0 |
A malicious peer can flood the other peer with Ping frames while stopping reads, forcing it to buffer Pong frames that are automatically sent in response until memory is exhausted, leading to process termination due to OOM. Proof of concept js import { WebSocket, WebSocketServer } from 'ws'; const wss = new WebSocketServer({ port: 0 }, function () { const data = Buffer.alloc(125); const { port } = wss.address(); const ws = new WebSocket(ws://localhost:${port}); ws.on('open', function () { ws.pa…
X에서 속보 받기악용·대형 유출·장애를 대응 방법과 함께.
@vulnpulse_app 팔로우2026. 12. 02. 오전 03:12, GitHub Advisory Database에서 "ws: Memory exhaustion DoS via unbounded automatic pong responses"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "높음"(high)입니다. 관련 기술: JavaScript / Node.js. CVE: CVE-2026-140009.