Advisory

GHSA-mqr9-hjr8-2m9w

Also known as: CVE-2023-26248, GO-2024-3218

Summary

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

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-10-25 18:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/libp2p/go-libp2p-kad-dht

Go · All systems

Affected

  • introduced 0, last affected 0.20.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences