A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
libp2p is a JavaScript implementation of the libp2p networking stack. Prior to 17.0.0, the @libp2p/gossipsub default configuration allows a connected remote peer to submit unsigned subscription RPC metadata for arbitrarily many distinct topic strings. handleReceivedSubscription in packages/gossipsub/src/gossipsub.ts creates a persistent topics-map entry for each accepted topic, while allowedTopics is unset by default, decodeRpc maxSubscriptions limits only one RPC rather than aggregate topic bytes, and peer scoring has no subscription-volume penalty. A single peer can therefore grow the topics map and committed heap toward out-of-memory conditions, and disconnecting additionally causes removePeer to scan all accumulated topic entries. This issue is fixed in version 17.0.0.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /libp2p/js-libp2p/commit/d5534174d8b7d23ac1bd45a7e738664fbf…
- github.com /libp2p/js-libp2p/pull/3593
- github.com /libp2p/js-libp2p/releases/tag/gossipsub-v17.0.0
- github.com /libp2p/js-libp2p/security/advisories/GHSA-x2vm-cf3p-m2w8
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning