Skip to content
Fencer Intel
critical —

GHSA-84x2-2qv6-qg56 json

Nervos CKB P2P DoS Attacks

published 2y ago modified 2y ago

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

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.

Patch / fix

  • crates.io ckb 0.34.0

Is GHSA-84x2-2qv6-qg56 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Affected packages

ecosystem package affected fixed in
crates.io ckb
<0.34.0
0.34.0

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.