{"cve":"CVE-2023-25568","nvd":{"published":"2023-05-10T14:15:32.187","modified":"2026-06-17T05:41:30.613","status":"Modified","description":"Boxo, formerly known as go-libipfs, is a library for building IPFS applications and implementations. In versions 0.4.0 and 0.5.0, if an attacker is able allocate arbitrary many bytes in the Bitswap server, those allocations are lasting even if the connection is closed. This affects users accepting untrusted connections with the Bitswap server and also affects users using the old API stubs at `github.com/ipfs/go-libipfs/bitswap` because users then transitively import `github.com/ipfs/go-libipfs/bitswap/server`. Boxo versions 0.6.0 and 0.4.1 contain a patch for this issue. As a workaround, those who are using the stub object at `github.com/ipfs/go-libipfs/bitswap` not taking advantage of the features provided by the server can refactor their code to use the new split API that will allow them to run in a client only mode: `github.com/ipfs/go-libipfs/bitswap/client`.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770","CWE-400"],"references":["https://github.com/ipfs/boxo/commit/62cbac40b96f49e39cd7fedc77ee6b56adce4916","https://github.com/ipfs/boxo/commit/9cb5cb54d40b57084d1221ba83b9e6bb3fcc3197","https://github.com/ipfs/boxo/commit/baa748b682fabb21a4c1f7628a8af348d4645974","https://github.com/ipfs/go-libipfs/security/advisories/GHSA-m974-xj4j-7qv5","https://github.com/ipfs/boxo/commit/62cbac40b96f49e39cd7fedc77ee6b56adce4916"],"products":["protocol:boxo"],"source":"nvd","synced_at":"2026-10-19T21:38:18.424950729+00:00"},"epss":{"cve":"CVE-2023-25568","score":0.00856,"percentile":0.58392,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-m974-xj4j-7qv5","url":"https://osv.dev/vulnerability/GHSA-m974-xj4j-7qv5","summary":"Boxo bitswap/server: DOS unbounded persistent memory leak","modified":"2026-09-10T03:50:01.708966084Z","packages":[{"ecosystem":"Go","name":"github.com/ipfs/go-libipfs","purl":"pkg:golang/github.com/ipfs/go-libipfs","ranges":[">=0.5.0 <0.6.0"],"fixed":["0.6.0"]},{"ecosystem":"Go","name":"github.com/ipfs/go-libipfs","purl":"pkg:golang/github.com/ipfs/go-libipfs","ranges":["<0.4.1"],"fixed":["0.4.1"]}]},{"id":"GHSA-q3j6-22wf-3jh9","url":"https://osv.dev/vulnerability/GHSA-q3j6-22wf-3jh9","summary":"github.com/ipfs/go-bitswap vulnerable to DOS unbounded persistent memory leak","modified":"2023-11-08T04:11:52.109563Z","packages":[{"ecosystem":"Go","name":"github.com/ipfs/go-bitswap","purl":"pkg:golang/github.com/ipfs/go-bitswap","ranges":["<0.12.0"],"fixed":["0.12.0"]}]},{"id":"GO-2023-1766","url":"https://osv.dev/vulnerability/GO-2023-1766","summary":"Denial of service from memory leak in github.com/ipfs/go-libipfs","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/ipfs/go-libipfs","purl":"pkg:golang/github.com/ipfs/go-libipfs","ranges":["<0.4.1",">=0.5.0 <0.6.0"],"fixed":["0.4.1","0.6.0"]},{"ecosystem":"Go","name":"github.com/ipfs/go-bitswap","purl":"pkg:golang/github.com/ipfs/go-bitswap","ranges":["<0.12.0"],"fixed":["0.12.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}