MEDIUM5.3
GHSA-mqr9-hjr8-2m9w
Content Censorship in the InterPlanetary File System (IPFS) via Kademlia DHT abuse
Details
The Kademlia DHT (go-libp2p-kad-dht 0.20.0 and earlier) used in IPFS (0.18.1 and earlier) assigns routing information for content (i.e., information about who holds the content) to be stored by peers whose peer IDs have a small DHT distance from the content ID. This allows an attacker to censor content by generating many Sybil peers whose peer IDs have a small distance from the content ID, thus hijacking the content resolution process.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/libp2p/go-libp2p-kad-dht
Introduced in:
0No fixed version published yet for github.com/libp2p/go-libp2p-kad-dht (go modules). Pin to a known-safe version or switch to an alternative.