Live threats

All CVEs / kademila

CVE-2023-26248kademila dht

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
0.3%
probability of exploitation in 30 days · percentile 16
Auth required
No
Published
Oct 25, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for dht.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/libp2p/go-libp2p-kad-dht ≤ 0.20.0 no fixed version —
Go github.com/libp2p/go-libp2p-kad-dht all no fixed version —

Per OSV / GitHub Advisories (GHSA-mqr9-hjr8-2m9w, GO-2024-3218). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.