GHSA-84x2-2qv6-qg56 Nervos CKB P2P DoS Attacks
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io ckb(crates.io) | < 0.34.0 | 0.34.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io ckb(crates.io) | < 0.34.0 | 0.34.0 |
References
- github.com vendor-advisory
- github.com patch
- github.com