@anephenix/hub: Unauthenticated WebSocket RPC Waiter Resource Exhaustion
@anephenix/hub before version 0.2.16 contains an unauthenticated denial-of-service vulnerability. The server starts a polling loop via setInterval for every incoming WebSocket connection to request a client ID via RPC. If the client never responds, these intervals and pending requests are never cleaned up, even after the socket closes. An attacker can open many WebSocket connections and ignore server RPC messages, causing unbounded accumulation of timers and heap objects. This leads to CPU and memory exhaustion, resulting in denial of service.
AI Analysis
Technical Summary
@anephenix/hub versions prior to 0.2.16 implement an RPC mechanism over WebSocket connections that requests a client ID by sending a 'get-client-id' action. For each connection, a setInterval timer polls for a matching RPC response every 10 ms. If the client never replies, the timer and the pending request remain indefinitely because there is no timeout or cleanup on socket close. This allows an unauthenticated attacker to open many connections and cause unbounded resource consumption (timers and heap objects), leading to CPU and memory exhaustion and denial of service.
Potential Impact
An unauthenticated attacker can cause a denial-of-service condition by opening many WebSocket connections and ignoring the server's RPC requests. This causes the server to accumulate timers and memory objects indefinitely, exhausting CPU and memory resources. The vulnerability affects any network-reachable @anephenix/hub server running default configuration prior to version 0.2.16.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, mitigate by limiting the number of concurrent WebSocket connections or implementing external rate limiting and connection timeouts to prevent resource exhaustion. Monitor for updates from the vendor regarding an official patch.
@anephenix/hub: Unauthenticated WebSocket RPC Waiter Resource Exhaustion
Description
@anephenix/hub before version 0.2.16 contains an unauthenticated denial-of-service vulnerability. The server starts a polling loop via setInterval for every incoming WebSocket connection to request a client ID via RPC. If the client never responds, these intervals and pending requests are never cleaned up, even after the socket closes. An attacker can open many WebSocket connections and ignore server RPC messages, causing unbounded accumulation of timers and heap objects. This leads to CPU and memory exhaustion, resulting in denial of service.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
@anephenix/hub versions prior to 0.2.16 implement an RPC mechanism over WebSocket connections that requests a client ID by sending a 'get-client-id' action. For each connection, a setInterval timer polls for a matching RPC response every 10 ms. If the client never replies, the timer and the pending request remain indefinitely because there is no timeout or cleanup on socket close. This allows an unauthenticated attacker to open many connections and cause unbounded resource consumption (timers and heap objects), leading to CPU and memory exhaustion and denial of service.
Potential Impact
An unauthenticated attacker can cause a denial-of-service condition by opening many WebSocket connections and ignoring the server's RPC requests. This causes the server to accumulate timers and memory objects indefinitely, exhausting CPU and memory resources. The vulnerability affects any network-reachable @anephenix/hub server running default configuration prior to version 0.2.16.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, mitigate by limiting the number of concurrent WebSocket connections or implementing external rate limiting and connection timeouts to prevent resource exhaustion. Monitor for updates from the vendor regarding an official patch.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-g5vv-q72c-7j78
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6542219c2644c7f80884d5
Added to database: 07/25/2026, 23:09:21 UTC
Last enriched: 07/25/2026, 23:52:27 UTC
Last updated: 07/26/2026, 03:58:23 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.