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

Published Dec 7, 2022
·
Updated

js-libp2p is the official javascript Implementation of libp2p networking stack. Versions older than v0.38.0 of js-libp2p are vulnerable to targeted resource exhaustion attacks. These attacks target libp2p’s connection, stream, peer, and memory management. An attacker can cause the allocation of large amounts of memory, ultimately leading to the process getting killed by the host’s operating system. While a connection manager tasked with keeping the number of connections within manageable limits has been part of js-libp2p, this component was designed to handle the regular churn of peers, not a targeted resource exhaustion attack. Users are advised to update their js-libp2p dependency to v0.38.0 or greater. There are no known workarounds for this vulnerability.

Affected Software

1 affected component
protocol Libp2p Node.js<0.38.0

Event History

Dec 7, 2022
CVE Published
via MITRE·08:05 PM
Data Sourced
via MITRE·08:05 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-23487?

CVE-2022-23487 is a vulnerability in js-libp2p, the official JavaScript implementation of the libp2p networking stack, where versions older than v0.38.0 are vulnerable to targeted resource exhaustion attacks.

2

How can an attacker exploit CVE-2022-23487?

An attacker can exploit CVE-2022-23487 by launching targeted resource exhaustion attacks that affect libp2p's connection, stream, peer, and memory management.

3

What is the severity of CVE-2022-23487?

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

4

Which software versions are affected by CVE-2022-23487?

Versions of js-libp2p older than v0.38.0 are affected by CVE-2022-23487.

5

How can I fix CVE-2022-23487?

To fix CVE-2022-23487, you should update js-libp2p to version v0.38.0 or newer.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203