Live threats

All CVEs / Protocol

CVE-2023-25568Protocol Boxo

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
May 10, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-770
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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`.

Original NVD text.

What to do

  1. Apply the vendor's security update for Boxo.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/ipfs/go-bitswap < 0.12.0 0.12.0 go get github.com/ipfs/go-bitswap@v0.12.0
Go github.com/ipfs/go-bitswap < 0.12.0 0.12.0 go get github.com/ipfs/go-bitswap@v0.12.0
Go github.com/ipfs/go-libipfs ≥ 0.5.0 < 0.6.0 0.6.0 go get github.com/ipfs/go-libipfs@v0.6.0
Go github.com/ipfs/go-libipfs < 0.4.1 0.4.1 go get github.com/ipfs/go-libipfs@v0.4.1
Go github.com/ipfs/go-libipfs < 0.4.1 0.4.1 go get github.com/ipfs/go-libipfs@v0.4.1
Go github.com/ipfs/go-libipfs ≥ 0.5.0 < 0.6.0 0.6.0 go get github.com/ipfs/go-libipfs@v0.6.0

Per OSV / GitHub Advisories (GHSA-q3j6-22wf-3jh9, GO-2023-1766, GHSA-m974-xj4j-7qv5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
protocolboxo0.4.0
protocolboxo0.5.0

Official sources

References

Links published by the sources. Open them with care.