CVE-2023-25568: ipfs boxo Uncontrolled Resource Consumption
Vulnerability summary
CVE-2023-25568 is a high (CVSS 8.2) Uncontrolled Resource Consumption vulnerability in ipfs boxo. EPSS estimates a 0.86% chance of exploitation in the next 30 days, higher than 57.6% of scored vulnerabilities.
Timeline
- 10-05-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.86%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
-0.01 pp
From 0.86% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Github.com/ipfs2 products
- go-bitswap< 0.12.0
- go-libipfs< 0.4.1 | ≥ 0.5.0, < 0.6.0
Ipfs1 product
- boxo0.4.0 | 0.5.0
Protocol1 product
- boxo0.4.0 | 0.5.0
3 vendors · 4 products
References
9 links- github.com/ipfs/go-libipfs/security/advisories/GHSA-m974-xj4j-7qv5WEBAdvisoryMitigationPatchVendor Advisory
- github.com/ipfs/boxoPACKAGE
- github.com/ipfs/go-bitswapPACKAGE