CVE-2023-25568
published high CVSS 3.1 · 8.2Boxo bitswap/server: DOS unbounded persistent memory leak
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ipfs | — | boxo0.4.0 · 0.5.0 | Affected | Not stated | GitHub_M |
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`.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ipfs | boxo | 0.4.0 (affected)0.5.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400 Uncontrolled Resource Consumption
- CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling
References
4- 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
Provider assertions
3GitHub_M · cna
Boxo bitswap/server: DOS unbounded persistent memory leak
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e6e97c77106c1ccd7e6952cfc788994254f6dfccf0941536b646d5e3ae5191d7
- Ingested
- 23 Sep 2026, 08:06:55 UTC
- Source record
- Official CVE record