# CVE-2021-45699: Allocation of Resources Without Limits or Throttling in ckb

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-12-01)
- Published: 2021-07-25T12:00:00.000Z
- Modified: 2026-10-12T18:00:05.111Z
- Also known as: GHSA-2969-8hh9-57jc, GHSA-48vq-8jqv-gm6f, RUSTSEC-2021-0108
- Weaknesses: CWE-400, CWE-770
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ckb (crates.io): before 0.40.0; from 0.0.0-0 before 0.40.0
- nervos ckb: before 0.40.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: rating High
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 7.8 High `AV:N/AC:L/Au:N/C:N/I:N/A:C`

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0108.html> (advisory, third-party-advisory, web)
- <https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ckb/RUSTSEC-2021-0108.md> (third-party-advisory, web)
- <https://github.com/nervosnetwork/ckb/security/advisories/GHSA-48vq-8jqv-gm6f> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45699> (advisory)
- <https://github.com/nervosnetwork/ckb> (package)
- <https://crates.io/crates/ckb> (package)

## Sources

- CVE List: [CVE-2021-45699](https://www.cve.org/CVERecord?id=CVE-2021-45699), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-2969-8hh9-57jc](https://github.com/advisories/GHSA-2969-8hh9-57jc), CC-BY-4.0, modified 2023-11-08
- GitHub Advisory Database: [GHSA-48vq-8jqv-gm6f](https://github.com/advisories/GHSA-48vq-8jqv-gm6f), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0108](https://rustsec.org/advisories/RUSTSEC-2021-0108.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2021-45699](https://nvd.nist.gov/vuln/detail/CVE-2021-45699), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45699 · Whole record: https://cve.day/CVE-2021-45699.json · Rebuilt by cve.day 2026-11-25T22:58:06.267Z
