ADVISORIES

GitHub Advisory Database

GHSA-mqr9-hjr8-2m9w

Content Censorship in the InterPlanetary File System (IPFS) via Kademlia DHT abuse

Moderate No fix available CVE-2023-26248GO-2024-3218

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/libp2p/go-libp2p-kad-dht
All versions up to and including 0.20.0

References