GHSA-84x2-2qv6-qg56
critical
Nervos CKB P2P DoS Attacks
- Severity
- critical rating by GitHub
- Published
- Last changed
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ckb (crates.io) | before 0.34.0 | GitHub Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-84x2-2qv6-qg56 changed 2024-02-02 | CC-BY-4.0 |