CVE-2023-26248 Content Censorship in the InterPlanetary File System (IPFS) via Kademlia DHT abuse
MediumCVSS 5.3
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| libp2p github.com/libp2p/go-libp2p-kad-dht(Go) | <= 0.20.0; All versions | after 0.20.0 | Partially fixed |
| kademila dht | < 0.18.1 | 0.18.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libp2p github.com/libp2p/go-libp2p-kad-dht(Go) | <= 0.20.0 | No fix listed |
| libp2p github.com/libp2p/go-libp2p-kad-dht(Go) | All versions | No fix listed |
| kademila dht | < 0.18.1 | 0.18.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- arxiv.org
- github.com product
- pkg.go.dev
- github.com vendor-advisory