libp2p-rendezvous: Unlimited namespace registrations per peer enables OOM DoS on rendezvous servers
A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.17.1 and libp2p-rendezvous 0.17.1.
libp2p-rust is the official rust language Implementation of the libp2p networking stack. Prior to 0.17.1, libp2p-rendezvous server has no limit on how many namespaces a single peer can register. A malicious peer can just keep registering unique namespaces in a loop and the server happily accepts every single one allocating memory for each registration with no pushback. Keep doing this long enough (or with multiple sybil peers) and the server process gets OOM killed. This vulnerability is fixed in 0.17.1.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| libp2p | <0.17.1 | ||
| protocol | libp2p | <0.17.1 | 0.17.1 |
| cargo: libp2p-rendezvous | <0.17.1, >=0.0.0-0 <0.17.1 | 0.17.1 |
Exploit evidence
1 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in libp2p-rendezvous (Cargo), strongest first
Embed
A live severity badge for an advisory, README or ticket