Vulnerability CriticalRUSTSEC-2021-0109 · ckb
RUSTSEC-2021-0109: Process crashes when the cell used as DepGroup is not alive
Short answerA security vulnerability in the ckb crate: Process crashes when the cell used as DepGroup is not alive. GitHub rates it Critical. Fixed in 0.40.0: update to a fixed version.
| Crate | ckb |
|---|---|
| Type | Vulnerability |
| Affected versions | Before 0.40.0. |
| Fixed in | 0.40.0 |
| Severity | Critical (GitHub rating) |
| Published | 2021-07-25 |
| Last changed | 2026-10-12 |
| Also known as | CVE-2021-45700, GHSA-45p7-c959-rgcm, GHSA-cw98-cx2m-9qqg |
What to do
- See which version you have:
cargo tree -i ckb(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p ckb. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampleckb = "0.40.0") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
It's easy to create a malign transaction which uses the dead cell as the DepGroup in the DepCells. The transaction can crash all the receiving nodes.
References
- Package: crates.io/crates/ckb
- Advisory: rustsec.org/advisories/RUSTSEC-2021-0109.html
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for ckb
- VulnerabilityRUSTSEC-2021-0107 · 2021-07-25Miner fails to get block template when a cell used as a cell dep has been destroyed.
- VulnerabilityRUSTSEC-2021-0108 · 2021-07-25Remote memory exhaustion in ckb
- VulnerabilityGHSA-29c2-65rj-h343 · 2024-02-03Nervos CKB Permit load cell data from memory
- VulnerabilityGHSA-29c2-65rj-h343 · 2024-02-03Nervos CKB Permit load cell data from memory
- VulnerabilityGHSA-29c2-65rj-h343 · 2024-02-03Nervos CKB Permit load cell data from memory
- VulnerabilityGHSA-29c2-65rj-h343 · 2024-02-03Nervos CKB Permit load cell data from memory
- VulnerabilityGHSA-29c2-65rj-h343 · 2024-02-03Nervos CKB Permit load cell data from memory
- VulnerabilityGHSA-3gjh-29fv-8hr6 · 2024-02-03Nervos CKB Snappy decompress length can be very large and causes out of memory error
Up next
Same crateckb: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?