Resource exhaustion in Libp2p Rust-Libp2p
CVE-2022-23486
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/.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.007 (51.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 52nd percentile — 51.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: +0.000
Affected products
- Libp2p Rust-Libp2p — versions < 0.45.1
- Protocol Libp2p
Weakness classification (CWE)
References
- github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8 (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-23486?
- CVE-2022-23486 is a high-severity vulnerability in Libp2p Rust-Libp2p, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2022-12-07.
- How severe is CVE-2022-23486?
- High severity. CVSS v3 base score is 7.5 out of 10.