漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Hub: Unauthenticated WebSocket RPC Waiter Resource Exhaustion
Vulnerability Description
Hub is a Node.js WebSocket server and client with added features. Prior to 0.2.16, every incoming unauthenticated WebSocket connection triggers loadDefaultConnectionEventListeners to call requestClientId, which calls rpc.send for the get-client-id action and pushes a request into RPC.requests. The RPC.waitForReply function starts a setInterval polling loop every 10 milliseconds that is cleared only after a matching reply; if the client remains silent and closes, the timer and pending request stay allocated because the socket close path does not cancel them. Repeated connections therefore cause unbounded timers and heap entries, exhausting CPU and memory and making the server unavailable. This issue is fixed in version 0.2.16.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Vulnerability Title
Anephenix Hub 资源管理错误漏洞
Vulnerability Description
Anephenix Hub是Anephenix组织的一个支持远程过程调用、自动重连及消息队列等功能的Node.js WebSocket服务器和客户端库。 Anephenix Hub 0.2.16之前版本存在资源管理错误漏洞,该漏洞源于RPC.waitForReply函数在客户端静默关闭时未取消轮询计时器和挂起请求,导致CPU和内存资源耗尽,攻击者可通过不断建立未经验证的WebSocket连接造成拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A