{"answers":{"affected":"3 open source packages ship an affected version, including github.com/libp2p/go-libp2p-kad-dht.","exploited":"There is no known exploitation of CVE-2023-26248 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2023-26248 is a medium-severity vulnerability in n/a, published on 25 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-26248 and fix it if it is affected.\n\nWhat it is: CVE-2023-26248 is a medium-severity vulnerability in n/a, published on 25 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-26248 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/libp2p/go-libp2p-kad-dht (Go): affected all versions; no fix listed\n- github.com/libp2p/go-libp2p-kad-dht (Go): affected all versions up to 0.20.0; no fix listed\n- github.com/libp2p/go-libp2p-kad-dht (Go): affected all versions up to 0.20.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-26248/ (Markdown: https://insights.sbomify.com/CVE-2023-26248/index.md)","id":"CVE-2023-26248","markdown":"https://insights.sbomify.com/CVE-2023-26248/index.md","name":"CVE-2023-26248","record":{"aliases":["GHSA-mqr9-hjr8-2m9w","GO-2024-3218"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"IPFS DHT library","requires_auth":"none","summary":"Attackers can censor IPFS content by hijacking resolution via Sybil peers in the Kademlia DHT, affecting IPFS users and developers.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Content Censorship in the InterPlanetary File System (IPFS) via Kademlia DHT abuse","id":"CVE-2023-26248","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"Denial of service in n/a","id":"CVE-2023-26249"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/libp2p/go-libp2p-kad-dht","purl":"pkg:golang/github.com/libp2p/go-libp2p-kad-dht","source":"GO-2024-3218"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.20.0"],"package":"github.com/libp2p/go-libp2p-kad-dht","purl":null,"source":"GHSA-mqr9-hjr8-2m9w"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.20.0"],"package":"github.com/libp2p/go-libp2p-kad-dht","purl":"pkg:golang/github.com/libp2p/go-libp2p-kad-dht","source":"GHSA-mqr9-hjr8-2m9w"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2023-26246"},"products":["n/a"],"published":"2024-10-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-25","vendors":["n/a"]},"summary":"Attackers can censor IPFS content by hijacking resolution via Sybil peers in the Kademlia DHT, affecting IPFS users and developers.","url":"https://insights.sbomify.com/CVE-2023-26248/"}