Skip to content

Nervos CKB P2P DoS Attacks

Critical severity GitHub Reviewed Published Jun 5, 2020 in nervosnetwork/ckb • Updated Feb 2, 2024

Package

cargo ckb (Rust)

Affected versions

< 0.34.0

Patched versions

0.34.0

Description

The P2P protocols lack of rate limit. For example, in relay protocol, when a node receives a broadcasted tx_hashes, it will mark it in memory to avoid duplicated requests. code → .

It is easy to establish a DoS attach by generating random tx hashes.

Impact

It affects all nodes connected to the P2P network.

Workarounds

Apply rate limit on the data sent to CKB P2P port.

References

@doitian doitian published to nervosnetwork/ckb Jun 5, 2020
Published to the GitHub Advisory Database Feb 2, 2024
Reviewed Feb 2, 2024
Last updated Feb 2, 2024

Severity

Critical

Weaknesses

No CWEs

CVE ID

No known CVE

GHSA ID

GHSA-84x2-2qv6-qg56

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.