CyberRota Analysis
AI-GeneratedThe yamux handle_incoming() method in py-libp2p versions 0.7.0 and earlier is vulnerable to a denial-of-service attack due to improper validation of attacker-controlled DATA frame lengths, allowing a malicious peer to block all streams on a connection. This vulnerability can severely disrupt network communication for applications relying on the libp2p networking stack. Organizations utilizing py-libp2p should prioritize immediate mitigation strategies, as no fixed version is currently available.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
py-libp2p is the Python implementation of the libp2p networking stack. In 0.7.0 and earlier, the yamux handle_incoming() method in libp2p/stream_muxer/yamux/yamux.py reads an attacker-controlled 32-bit DATA frame length with read_exactly() before validating it against MAX_WINDOW_SIZE or checking whether stream_id exists. A peer that completes the standard Noise handshake can send a 12-byte frame declaring a 0xFFFFFFFF body and then withhold the body, causing the sequential yamux read loop used by the default new_host() configuration to block and preventing every stream on that connection from making progress. No fixed version is available as of this review.