Security mailing lists by PureSourceCode

CVE-2021-45699

HIGH 7.5CVSS 3.1

Allocation of Resources Without Limits or Throttling in ckb

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.

Published
27 Dec 2021
Last modified
12 Oct 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-400CWE-770
Also known as
GHSA-2969-8hh9-57jcGHSA-48vq-8jqv-gm6fRUSTSEC-2021-0108
Sources
NVDJSONOSV GHSA-2969-8hh9-57jcJSONOSV GHSA-48vq-8jqv-gm6fJSONOSV RUSTSEC-2021-0108JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.8 AV:N/AC:L/Au:N/C:N/I:N/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nervos ckb
cpe:2.3:a:nervos:ckb:*:*:*:*:*:rust:*:*
< 0.40.0 0.40.0
OSV crates.io ckb < 0.40.0 0.40.0
OSV crates.io ckb >= 0.0.0-0, < 0.40.0 0.40.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Dec 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jul 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.