libp2p-gossipsub is vulnerable to Denial of Service (DoS)
87
High Risk
The Gossipsub message handler inserts every topic hash from a GRAFT control message into the recipient's per peer topics set without a subscription check. A connected peer that repeatedly sends GRAFTs for unique, unknown topic hashes forces the set to grow without bound until the node runs out of memory. Subscription filters, peer scoring, and message size caps do not stop the accumulation. The fix stops the unconditional insertion and enables MaxCountSubscriptionFilter by default, capping per peer subscriptions and rejecting GRAFTs for unsubscribed topics.
You are affected if you are using a version that falls within the vulnerable range and your node accepts Gossipsub connections from untrusted peers.
libp2p-gossipsub is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 0.49.4.
Upgrade the libp2p-gossipsub library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.