Live threats

All CVEs / Nervos

CVE-2021-45698Nervos Ckb

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Dec 27, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ckb.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io ckb < 0.40.0 0.40.0 cargo update -p ckb --precise 0.40.0
crates.io ckb < 0.40.0 0.40.0 cargo update -p ckb --precise 0.40.0
crates.io ckb ≥ 0.0.0-0 < 0.40.0 0.40.0 cargo update -p ckb --precise 0.40.0

Per OSV / GitHub Advisories (GHSA-8gjm-h3xj-mp6w, GHSA-v666-6w97-pcwm, RUSTSEC-2021-0107). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nervosckb< 0.40.0

Official sources

References

Links published by the sources. Open them with care.