Live threats

All CVEs / Nervos

CVE-2021-45699Nervos Ckb

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
No
Published
Dec 27, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

An issue was discovered in the ckb crate before 0.40.0 for Rust. Remote attackers may be able to conduct a 51% attack against the Nervos CKB blockchain by triggering an inability to allocate memory for the misbehavior HashMap.

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-2969-8hh9-57jc, GHSA-48vq-8jqv-gm6f, RUSTSEC-2021-0108). 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.