GitHub Advisoryadvisory · Go

GHSA-mqr9-hjr8-2m9w Content Censorship in the InterPlanetary File System (IPFS) via Kademlia DHT abuse

MEDIUM Published 2024-10-25 Modified 2024-12-12 Official page ↗
Aliases
CVE-2023-26248
Ecosystem
Go
Packages
github.com/libp2p/go-libp2p-kad-dht
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-352
Reviewed
2024-10-25

Affected packages

• Go github.com/libp2p/go-libp2p-kad-dht: <= 0.20.0 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2023-26248 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.,… vulnerability

Weakness · CWE (1)

  • CWE-352 Cross-Site Request Forgery weakness

References