GHSA-r9rv-9mh8-pxf4: Nervos CKB BlockTimeTooNew should not be considered as invalid block
Impact Currently, when a node receives a block in future according to its local wall clock, it will mark the block as invalid and ban the peer. If the header's timestamp is more than 15 seconds ahead of our current time.
Published Feb 2, 2024
Affected packages
ckb
- Ecosystem
- Rust (crates.io)
- Affected
- <= 0.33.0
- Fixed in
- 0.33.1
- Check
cargo tree -i ckb
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Currently, when a node receives a block in future according to its local wall clock, it will mark the block as invalid and ban the peer.
If the header's timestamp is more than 15 seconds ahead of our current time. In that case, the header may become valid in the future, and we don't want to disconnect a peer merely for serving us one too-far-ahead block header, to prevent an attacker from splitting the network by mining a block right at the 15 seconds boundary.
Patches
Upgrade to v0.33.1 or above.
Workarounds
Don't ban peer serving too-far-ahead block header.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Rust (crates.io) vulnerabilities
All Rust (crates.io) entriesGHSA-29c2-65rj-h343
Nervos CKB Permit load cell data from memory
mediumFeb 3, 2024GHSA-3gjh-29fv-8hr6
Nervos CKB Snappy decompress length can be very large and causes out of memory error
highFeb 3, 2024GHSA-h4c3-5275-vrmg
Nervos CKB Pool does not remove the conflicting transactions from the statistics
mediumFeb 3, 2024GHSA-q73f-w3h7-7wcc
Nervos CKB Transaction which calls syscall load_cell_data_hash has nondeterministic result
criticalFeb 3, 2024GHSA-wjxc-pjx9-4wvm
Nervos CKB Panic on malformed input
highFeb 3, 2024GHSA-84x2-2qv6-qg56
Nervos CKB P2P DoS Attacks
criticalFeb 2, 2024
