{"id":"GHSA-8gjm-h3xj-mp6w","summary":"RPC call failure in ckb","details":"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.","aliases":["CVE-2021-45698","GHSA-v666-6w97-pcwm","RUSTSEC-2021-0107"],"modified":"2023-11-08T04:07:22.565827Z","published":"2022-01-06T22:10:43Z","database_specific":{"nvd_published_at":"2021-12-27T00:15:00Z","cwe_ids":[],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-01-05T23:45:58Z"},"references":[{"type":"WEB","url":"https://github.com/nervosnetwork/ckb/security/advisories/GHSA-v666-6w97-pcwm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45698"},{"type":"PACKAGE","url":"https://github.com/nervosnetwork/ckb"},{"type":"WEB","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ckb/RUSTSEC-2021-0107.md"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0107.html"}],"affected":[{"package":{"name":"ckb","ecosystem":"crates.io","purl":"pkg:cargo/ckb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.40.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-8gjm-h3xj-mp6w/GHSA-8gjm-h3xj-mp6w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}