CVE-2022-23486CWE-400

libp2p-rust denial of service vulnerability from lack of resource management

High · published December 7, 2022

CVSS v3.1
7.5
EPSS
1%
Percentile
53.9
In the wild
Unconfirmed
What it is

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/.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00734 · 53.9th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2022-12-07T20:03Z
EPSS history
Timeline
  • 07 DEC 20:03Z
    libp2p-rust denial of service vulnerability from lack of resource management
    cvelistv5