Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. ckb
  4. ›
  5. CVE-2021-45698

CVE-2021-45698: RPC call failure in ckb

January 6, 2022 (updated January 7, 2022)

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.

References

  • github.com/advisories/GHSA-8gjm-h3xj-mp6w
  • github.com/nervosnetwork/ckb
  • github.com/nervosnetwork/ckb/security/advisories/GHSA-v666-6w97-pcwm
  • nvd.nist.gov/vuln/detail/CVE-2021-45698
  • raw.githubusercontent.com/rustsec/advisory-db/main/crates/ckb/RUSTSEC-2021-0107.md
  • rustsec.org/advisories/RUSTSEC-2021-0107.html

Code Behaviors & Features

Detect and mitigate CVE-2021-45698 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.40.0

Fixed versions

  • 0.40.0

Solution

Upgrade to version 0.40.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

cargo/ckb/CVE-2021-45698.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.