libp2p-rust denial of service vulnerability from lack of resource management
Description
libp2p-rust is the official rust language Implementation of the libp2p networking stack. In versions prior to 0.45.1 an attacker node can cause a victim node to allocate a large number of small memory chunks, which can ultimately lead to the victim’s process running out of memory and thus getting killed by its operating system. When executed continuously, this can lead to a denial of service attack, especially relevant on a larger scale when run against more than one node of a libp2p based network. Users are advised to upgrade to libp2p v0.45.1 or above. Users unable to upgrade should reference the DoS Mitigation page for more information on how to incorporate mitigation strategies, monitor their application, and respond to attacks: https://docs.libp2p.io/reference/dos-mitigation/.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
libp2pcrates.io | < 0.45.1 | 0.45.1 |
Affected products
1- Range: < 0.45.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- github.com/advisories/GHSA-jvgw-gccv-q5p8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-23486ghsaADVISORY
- github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjwghsaWEB
- github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwvghsaWEB
- github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8ghsax_refsource_CONFIRMWEB
- rustsec.org/advisories/RUSTSEC-2022-0084.htmlghsaWEB
News mentions
0No linked articles in our index yet.