CVE-2021-45698 RPC call failure in ckb
A logic flaw in the ckb crate causes incorrect transaction selection based on fee rates, potentially affecting blockchain consensus or mining efficiency.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-45698?
CVE-2021-45698 is a critical vulnerability in n/a, published on 26 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2021-45698?
5 open source packages ship an affected version, including ckb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ckb crates.io | All versions | 0.40.0 |
ckb crates.io | All versions | 0.40.0 |
ckb crates.io | All versions | 0.40.0 |
ckb crates.io | All versions | 0.40.0 |
ckb crates.io | From 0.0.0-0 | 0.40.0 |
Products include Nervos Ckb.
How do I fix CVE-2021-45698?
Upgrade ckb to 0.40.0 or later.
Is CVE-2021-45698 being exploited?
There is no known exploitation of CVE-2021-45698 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-8gjm-h3xj-mp6w, GHSA-v666-6w97-pcwm, RUSTSEC-2021-0107.