Vulnerability Details : CVE-2023-25568
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`.
Products affected by CVE-2023-25568
- cpe:2.3:a:protocol:boxo:0.5.0:*:*:*:*:go:*:*
- cpe:2.3:a:protocol:boxo:0.4.0:*:*:*:*:go:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-25568
0.86%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 73 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-25568
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
8.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
3.9
|
4.2
|
GitHub, Inc. |
CWE ids for CVE-2023-25568
-
The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.Assigned by: security-advisories@github.com (Secondary)
-
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2023-25568
-
https://github.com/ipfs/boxo/commit/62cbac40b96f49e39cd7fedc77ee6b56adce4916
bitswap/server/internal/decision: add filtering on CIDs · ipfs/boxo@62cbac4 · GitHubPatch
-
https://github.com/ipfs/go-libipfs/security/advisories/GHSA-m974-xj4j-7qv5
bitswap/server: DOS unbounded persistant memory leak · Advisory · ipfs/boxo · GitHubMitigation;Patch;Vendor Advisory
-
https://github.com/ipfs/boxo/commit/baa748b682fabb21a4c1f7628a8af348d4645974
bitswap/server/internal/decision: add more non flaky tests · ipfs/boxo@baa748b · GitHubPatch
-
https://github.com/ipfs/boxo/commit/9cb5cb54d40b57084d1221ba83b9e6bb3fcc3197
bitswap/server/internal/decision: rewrite ledger inversion · ipfs/boxo@9cb5cb5 · GitHubPatch
Jump to