
Cloud Vulnerability DB
A community-led vulnerabilities database
handle_remote_open (peeroxide-dht/src/protomux.rs ~L1229) takes the channel id of a remote CTRL_OPEN and pushes None onto the list of remote channels until the list reaches that id, with no bound. An open at id 0xFFFF_FFFF makes the mux grow the list to about 4.3 billion entries (about 240 GB): the allocation fails and the process aborts.
One encrypted frame of about 10 bytes is enough, from any peer at the other end of a Mux:
relay_service) runs a Mux for every client, so anyone with a freshly generated key pair can crash a relay server.hyperdht.rs relay connect, the swarm's create_server_relay_connection).
Two smaller issues in the same code let a peer panic its own connection's mux task: handle_remote_reject underflows on id 0 and indexes the local channels without a bounds check, and the CTRL_BATCH length check state.start + len > end can overflow.The reported crash, and the panics alongside it:
protomux requires. Any other id is an error that ends the mux.usize::MAX length is an error. Its bounds check used to overflow.
Bounds on what a remote can make a Mux hold. These follow Node's pairing model, adapted to a mux that reads on its own task:MAX_BUFFERED. That counts their opens, ids and handshakes as well as their messages, and the mux can stop part way through a batch.mux.pair() does:Mux::pairPairListenerPairRequestMux::acceptProtomuxError::NotNextOpen
Related hardening of the blind relay service:max_sessions from its handshake, and handshakes are declined at capacity.6e2e0cd, 7b072dd, ea2ac21 and 729b506.A security review of the fixes for GHSA-4jh8-33j3-h73j, GHSA-48wj-x5q3-ggfq and GHSA-pchg-rmv6-56f4.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."