Skip to main content
VulnerabilityPublished 07/24/2026

@anephenix/hub: Unauthenticated WebSocket RPC Waiter Resource Exhaustion

Affects @anephenix/hubSource GCVE Database

CVSS 3.1 base score
7.5High
Patch
Available – fixed in 0.2.16
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What to do

AI-suggested

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.

Affected software

ProductAffectedFixed in
npm@anephenix/hubAffected
  • <0.2.16
Fixed in
  • 0.2.16

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

Weaknesses

References