Security mailing lists by PureSourceCode

CVE-2023-25568

HIGH 7.5CVSS 3.1

Boxo bitswap/server: DOS unbounded persistent memory leak

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.

Published
10 May 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-400CWE-770
Also known as
GHSA-m974-xj4j-7qv5GHSA-q3j6-22wf-3jh9GO-2023-1766
Sources
NVDJSONOSV GHSA-m974-xj4j-7qv5JSONOSV GHSA-q3j6-22wf-3jh9JSONOSV GO-2023-1766JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD protocol boxo
cpe:2.3:a:protocol:boxo:0.4.0:*:*:*:*:go:*:*
= 0.4.0
NVD protocol boxo
cpe:2.3:a:protocol:boxo:0.5.0:*:*:*:*:go:*:*
= 0.5.0
OSV Go github.com/ipfs/go-libipfs >= 0.5.0, < 0.6.0 0.6.0
OSV Go github.com/ipfs/go-libipfs < 0.4.1 0.4.1
OSV Go github.com/ipfs/go-bitswap < 0.12.0 0.12.0
OSV Go github.com/ipfs/go-libipfs < 0.4.1; >= 0.5.0, < 0.6.0 0.4.1, 0.6.0

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 10 May 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Jun 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 May 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 May 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.