Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-26248 EUVD-2024-3087GHSA-mqr9-hjr8-2m9wGO-2024-3218

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

Published Oct 25, 2024 · Updated Oct 25, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241213T205935-1.1 openSUSE-SU-2024:14599-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling k3s-1.32 +1 1.32.13.1-r22 —
Wolfi rolling k3s-1.34 +1 1.34.9.1-r1 —
Wolfi rolling k3s-1.35 +1 1.35.6.1-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/libp2p/go-libp2p-kad-dht <= 0.20.0 — GHSA-mqr9-hjr8-2m9w
Go github.com/libp2p/go-libp2p-kad-dht all versions — GO-2024-3218

Advisories 1

References