high7.5
CVE-2021-45699
Allocation of Resources Without Limits or Throttling in ckb
Impact
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 | Fixed in |
|---|---|---|---|
| rust | ckb | < 0.40.0 | 0.40.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Nervos | Ckb | before 0.40.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ckb/RUSTSEC-2021-0108.md
- https://rustsec.org/advisories/RUSTSEC-2021-0108.html
- https://github.com/advisories/GHSA-2969-8hh9-57jc
- https://nvd.nist.gov/vuln/detail/CVE-2021-45699
- https://github.com/nervosnetwork/ckb/security/advisories/GHSA-48vq-8jqv-gm6f