A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /anephenix/hub/commit/931576db3cdbf4f1583bd2c3c8759c4f4e032…
- github.com /anephenix/hub/security/advisories/GHSA-g5vv-q72c-7j78
- github.com /anephenix/hub/tree/v0.2.16
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning