CVE-2023-26248: Content Censorship in the InterPlanetary File System (IPFS) via Kademlia DHT abuse
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.
Published Oct 25, 2024 · Updated Dec 12, 2024
Affected packages
github.com/libp2p/go-libp2p-kad-dht
- Ecosystem
- Go
- Affected
- <= 0.20.0
- Fixed in
- No patched version yet
- Check
go list -m github.com/libp2p/go-libp2p-kad-dht
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
