{"cve":"CVE-2022-23487","nvd":{"published":"2022-12-07T21:15:10.260","modified":"2026-06-17T04:30:13.350","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770","CWE-400"],"references":["https://github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv","https://github.com/libp2p/js-libp2p/security/advisories/GHSA-f44q-634c-jvwv"],"products":["protocol:libp2p"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-23487","score":0.00734,"percentile":0.5443,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-f44q-634c-jvwv","url":"https://osv.dev/vulnerability/GHSA-f44q-634c-jvwv","summary":"libp2p DoS vulnerability from lack of resource management","modified":"2023-11-08T04:08:19.003587Z","packages":[{"ecosystem":"npm","name":"libp2p","purl":"pkg:npm/libp2p","ranges":["<0.38.0"],"fixed":["0.38.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}