GHSA-84x2-2qv6-qg56

    Dashboard / Vulnerabilities / GHSA-84x2-2qv6-qg56

    GHSA-84x2-2qv6-qg56

    Published: 2 Feb 2024Last Modified: 2 Feb 2024

    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 → ](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.

    Affected packages

    Package

    Name: ckb

    Purl: pkg:cargo/ckb

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.34.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-84x2-2qv6-qg56 | CVE-DB