Live threats

All CVEs / Protocol

CVE-2022-23486Protocol Libp2p

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.9%
probability of exploitation in 30 days · percentile 56
Auth required
No
Published
Dec 7, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-770
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Libp2p.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io libp2p < 0.45.1 0.45.1 cargo update -p libp2p --precise 0.45.1
crates.io libp2p ≥ 0.0.0-0 < 0.45.1 0.45.1 cargo update -p libp2p --precise 0.45.1

Per OSV / GitHub Advisories (GHSA-jvgw-gccv-q5p8, RUSTSEC-2022-0084). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
protocollibp2p< 0.45.1

Official sources

References

Links published by the sources. Open them with care.