Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. libp2p
  4. ›
  5. CVE-2022-23486

CVE-2022-23486: libp2p DoS vulnerability from lack of resource management

December 7, 2022 (updated July 14, 2023)

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.

References

  • github.com/advisories/GHSA-jvgw-gccv-q5p8
  • github.com/libp2p/go-libp2p/security/advisories/GHSA-j7qp-mfxf-8xjw
  • github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv
  • github.com/libp2p/rust-libp2p
  • github.com/libp2p/rust-libp2p/security/advisories/GHSA-jvgw-gccv-q5p8
  • nvd.nist.gov/vuln/detail/CVE-2022-23486
  • rustsec.org/advisories/RUSTSEC-2022-0084.html

Code Behaviors & Features

Detect and mitigate CVE-2022-23486 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.45.1

Fixed versions

  • 0.45.1

Solution

Upgrade to version 0.45.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

cargo/libp2p/CVE-2022-23486.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.