Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/libp2p/go-libp2p-kad-dht
  4. ›
  5. CVE-2023-26248

CVE-2023-26248: Content Censorship in the InterPlanetary File System (IPFS) via Kademlia DHT abuse

October 25, 2024 (updated December 12, 2024)

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.

References

  • arxiv.org/abs/2307.12212
  • github.com/advisories/GHSA-mqr9-hjr8-2m9w
  • github.com/libp2p/go-libp2p-kad-dht
  • nvd.nist.gov/vuln/detail/CVE-2023-26248
  • pkg.go.dev/vuln/GO-2024-3218

Code Behaviors & Features

Detect and mitigate CVE-2023-26248 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.20.0

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

go/github.com/libp2p/go-libp2p-kad-dht/CVE-2023-26248.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:21 +0000.