Impact The faulty nodes will reject transactions which calls load_cell_data syscall but the input cell is still in the mempool. They also ban other nodes and cause the network separation. Patches 0.35.2, 0.36.1, 0.37.1, 0.38.2
Product
crates.io ckb vulnerabilities
22 published CVES affecting crates.io ckb, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 22
- Critical
- 1
- High
- 2
- Medium
- 0
- Low
- 0
- Unscored
- 19
- CISA KEV
- 0
Latest crates.io ckb CVEs
Newest publication first
-
Unknown
-
GHSA-h4c3-5275-vrmg Nervos CKB Pool does not remove the conflicting transactions from the statistics
PublishedUnknownImpact There's a bug in the pool statistics that when conflicting transactions are removed from the pool, they are not subtracted from the statics. Finally, the transaction pool keeps full and reject all transactions. Patches 0.39.2 Workarounds Restart the CKB node.
-
Unknown
Impact Tx-pool verify transaction which inputs' script contains load_cell_data_hash is nondeterministic Workarounds Enforce tx-pool ResolvedTrascation inputs' load data is none.
-
Unknown
Impact Adversary can create message which compressed size is less than the package limit but the decompressed length is very large such as 1G. It will cost the node many memories to process the network messages, and on the system with less than 1G memory, the process is killed di...
-
Unknown
Impact CKB process will panic when received malformed p2p message because of snappy, which is used to compress network messages References https://github.com/BurntSushi/rust-snappy/issues/29
-
GHSA-hjqq-29pw-96wj Nervos CKB node panics when processing a block which parent timestamp is too new
PublishedUnknownImpact Adversary can initiate DOS attack by broadcasting two consecutive blocks with timestamps in the future. Patches Please upgrade to v0.34.1
-
Unknown
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, an...
-
Unknown
The p2p discovery protocol assumes that the peer IP must be valid IPv4 address.
-
Unknown
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 co...
-
Unknown
via bounty@nervos.org There are multiple type conversions in ckb that unsafely cast between byte pointers and other types of pointers. This results in unaligned pointers, which are not allowed by the Rust language, and are considered undefined behavior, meaning that the compiler...
-
GHSA-p2gm-ffr3-w2xw Nervos CKB vulnerable to low-resource flood DDoS attacks through network message
PublishedUnknownWorkarounds forbid request genesis through network request forbid requesting duplicate data through network request
-
Unknown
Impact The calculation of program load cycles may be missed when executing in resume mode. Since the script execution order is now determined, this issue does not cause network splitting.
-
Unknown
Impact https://github.com/nervosnetwork/ckb/blob/v0.101.2/script/src/verify.rs#L871-L879 TypeIdSystemScript resume handle is not correct when max_cycles is not enough, ScriptError::ExceededMaximumCycles will be raised directly ranther than suspend as expect, and also because scri...
-
Unknown
Impact fn HeaderChecker#check_valid skipped main chain checking after this PR: https://github.com/nervosnetwork/ckb/pull/1646/files#diff-c4e017b67c1b3005ca0c446a9b0879571aa36a858b1f7ddd1b9328a884e3214bR171-R176 It will cause network forking if one transaction is using a forked bl...
-
Unknown
Impact When a transaction contains a dep group with many cells, the resources required to process it are not linear to the transaction size nor spent script cycles. Patches In 0.43.3, nodes drop the transactions relayed to them when they contain a dep group with more than 64 cell...
-
Unknown
Impact A remote attacker could exploit this vulnerability to exhaust ckb process memory of an affected node. Patches Upgrade to 0.43.1 or later. References After resolving the outpoints of one dep group, we put the corresponding content into a vec ( https://github.com/nervosnetwo...
-
CVE-2021-45698 RPC call failure in ckb
PublishedCriticalCVSS 9.8 EPSS 1.2%An issue was discovered in the ckb crate before 0.40.0 for Rust. A get_block_template RPC call may fail in situations where it is supposed to select a Nervos CKB blockchain transaction with a higher fee rate than another transaction.
-
HighCVSS 7.5 EPSS 1.5%
An issue was discovered in the ckb crate before 0.40.0 for Rust. Remote attackers may be able to conduct a 51% attack against the Nervos CKB blockchain by triggering an inability to allocate memory for the misbehavior HashMap.
-
CVE-2021-45700 Denial of Service in ckb
PublishedHighCVSS 7.5 EPSS 1.1%An issue was discovered in the ckb crate before 0.40.0 for Rust. Attackers can cause a denial of service (Nervos CKB blockchain node crash) via a dead call that is used as a DepGroup.
-
Unknown
In the ckb sync protocol, SyncState maintains a HashMap called 'misbehavior' that keeps a score of a peer's violations of the protocol. This HashMap is keyed to PeerIndex (an alias for SessionId), and entries are never removed from it. SessionId is an integer that increases monot...
-
Unknown
Impact The RPC get_block_template fails when a cell has been used as a cell dep and an input in the different transactions. Say cell C is used as a dep group in the transaction A, and is destroyed in the transaction B. The node adds transaction A first, then B into the transactio...
-
Unknown
Impact It's easy to create a malign transaction which uses the dead cell as the DepGroup in the DepCells. The transaction can crash all the receiving nodes.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.