CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
LOW
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
EPSS
Percentile
53.3%
An attacker is able allocate arbitrarily many bytes in the Bitswap server by sending many WANT_BLOCK
and or WANT_HAVE
requests which are queued in an unbounded queue, with allocations that persist even if the connection is closed.
This affects users accepting or connecting untrusted connections such as by running in the public swarm and no pnet config.
Nodes that are not publicly reachable but connects to untrusted nodes are also vulnerable to the untrusted nodes being connected to since libp2p connections are blindly bidirectional.
boxo
update in KuboUse PNET, swarm filters or resource manager allows list to block untrusted connections.
Note that using the resource manager will disrupt both client and server features because the bitswap protocol is a message based protocol mixing requests and responses.