GHSA-84x2-2qv6-qg56

Suggest an improvement
Source
https://github.com/advisories/GHSA-84x2-2qv6-qg56
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-84x2-2qv6-qg56/GHSA-84x2-2qv6-qg56.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-84x2-2qv6-qg56
Published
2024-02-02T22:21:27Z
Modified
2024-02-02T22:21:27Z
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2024-02-02T22:21:27Z"
}
References

Affected packages

crates.io / ckb

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.34.0