{"id":"CVE-2021-45698","published":"2021-12-26T21:49:38Z","modified":"2024-08-04T04:47:02Z","title":"An issue was discovered in the ckb crate before 0.40.0 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0123,"percentile":0.69667,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0107.html","tags":["x_refsource_MISC"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ckb/RUSTSEC-2021-0107.md","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":13.93}]},"affected":[{"ecosystem":"crates.io","package":"ckb","vulnerableRanges":["<0.40.0",">=0.0.0-0, <0.40.0"],"patched":["0.40.0"],"from":["GHSA-8gjm-h3xj-mp6w","RUSTSEC-2021-0107"],"provenance":"source"}],"summary":{"text":"The flaw is in the ckb crate for Rust, affecting versions before 0.40.0, specifically within the get_block_template RPC call. That call can fail when it should select a Nervos CKB blockchain transaction with a higher fee rate than another transaction. The described effect is a failure of the get_block_template call to select the higher-fee-rate transaction as intended.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:40Z"},"euvd":{"id":"EUVD-2022-0528","exploited":false,"provenance":"source"}}