GHSA-84x2-2qv6-qg56 – ckb
Package
Manager: cargo
Name: ckb
Vulnerable Version: >=0 <0.34.0
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:U/RC:R
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
Nervos CKB P2P DoS Attacks 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 → ](https://github.com/nervosnetwork/ckb/blob/26e4837212c392c3c706a0da7a056131fb060433/sync/src/relayer/transactions_process.rs#L67). 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.
Metadata
Created: 2024-02-02T22:21:27Z
Modified: 2024-02-02T22:21:27Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-84x2-2qv6-qg56/GHSA-84x2-2qv6-qg56.json
CWE IDs: []
Alternative ID: N/A
Finding: F002
Auto approve: 1