{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-45698","published":"2021-12-27T00:15:09.580000Z","last_modified":"2026-06-17T04:13:58.220000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:nervos:ckb:*:*:*:*:*:rust:*:*","part":"a","vendor":"nervos","product":"ckb","version_end_excluding":"0.40.0"}],"cpes_truncated":false,"vendors":["nervos"],"products":["nervos/ckb"],"epss":{"score":0.0123,"percentile":0.68921,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8gjm-h3xj-mp6w","ecosystem":"crates.io","name":"ckb","purl":"pkg:cargo/ckb","ranges":[{"introduced":"0","fixed":"0.40.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-v666-6w97-pcwm","ecosystem":"crates.io","name":"ckb","purl":"pkg:cargo/ckb","ranges":[{"introduced":"0","fixed":"0.40.0"}],"versions":[],"versions_truncated":false},{"advisory":"RUSTSEC-2021-0107","ecosystem":"crates.io","name":"ckb","purl":"pkg:cargo/ckb","ranges":[{"introduced":"0.0.0-0","fixed":"0.40.0"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2021-45698/","html_en":"/en/cve/CVE-2021-45698/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-45698","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-45698"},"untrusted":{"vendor_name":"Nervos","product_name":"Ckb","desc_en":"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.","affected":[],"references":[{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ckb/RUSTSEC-2021-0107.md","tags":["Third Party Advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0107.html","tags":["Third Party Advisory"]}]}}