7.5
CWE
770 400
Advisory Published
Updated

CVE-2022-23486: libp2p-rust denial of service vulnerability from lack of resource management

First published: Wed Dec 07 2022(Updated: )

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

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Libp2p<0.45.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-23486?

    CVE-2022-23486 is a vulnerability in the libp2p-rust library that allows an attacker node to exhaust a victim node's memory resources.

  • What is the severity of CVE-2022-23486?

    The severity of CVE-2022-23486 is high with a CVSS score of 7.5.

  • How does CVE-2022-23486 affect libp2p-rust?

    CVE-2022-23486 affects versions of libp2p-rust prior to 0.45.1.

  • How can an attacker exploit CVE-2022-23486?

    An attacker node can exploit CVE-2022-23486 by causing a victim node to allocate a large number of small memory chunks, which can lead to the victim's process running out of memory.

  • How can I mitigate CVE-2022-23486?

    To mitigate CVE-2022-23486, users should update to version 0.45.1 or above of libp2p-rust.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203