CVE-2023-25568
Last modified
CVE-2023-25568 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.86% chance of exploitation in the next 30 days.
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`.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Protocol | Boxo | 0.4.0 |
| Protocol | Boxo | 0.5.0 |
References
- https://github.com/ipfs/go-libipfs/security/advisories/GHSA-m974-xj4j-7qv5Mitigation, Patch, Vendor Advisory
- https://github.com/ipfs/go-libipfs/security/advisories/GHSA-m974-xj4j-7qv5Mitigation, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-25568?
How severe is CVE-2023-25568?
How do I fix CVE-2023-25568?
Are you affected by CVE-2023-25568?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
