Advisory

GHSA-84x2-2qv6-qg56

Also known as: None

Summary

Nervos CKB P2P DoS Attacks

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-02-02 22:21 UTC
Modified
2024-02-02 22:21 UTC

Affected packages and fixes

ckb

crates.io · All systems

Affected

  • introduced 0, fixed 0.34.0 (semver)

Fixed versions

0.34.0

Fix

  • Fixed version 0.34.0
    cargo update -p ckb --precise 0.34.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences