GitHub Advisory Database
GHSA-2969-8hh9-57jc
Allocation of Resources Without Limits or Throttling in ckb
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | ckb | All versions before 0.40.0 (fixed in 0.40.0) |
References
- https://github.com/nervosnetwork/ckb/security/advisories/GHSA-48vq-8jqv-gm6f
- https://nvd.nist.gov/vuln/detail/CVE-2021-45699
- https://github.com/nervosnetwork/ckb
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ckb/RUSTSEC-2021-0108.md
- https://rustsec.org/advisories/RUSTSEC-2021-0108.html