GHSA-29c2-65rj-h343 Nervos CKB Permit load cell data from memory
Faulty nodes reject valid transactions and ban peers, causing network separation and denial of service for the Nervos CKB blockchain.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-29c2-65rj-h343?
GHSA-29c2-65rj-h343 is a denial of service vulnerability in ckb, published on 3 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Impact
The faulty nodes will reject transactions which calls load_cell_data syscall but the input cell is still in the mempool. They also ban other nodes and cause the network separation.
Patches
0.35.2, 0.36.1, 0.37.1, 0.38.2
Which versions are affected by GHSA-29c2-65rj-h343?
10 open source packages ship an affected version, including ckb.
| Package | Affected | Fixed in |
|---|---|---|
ckb crates.io | From 0.35.0-rc1 | 0.35.2 |
ckb crates.io | From 0.35.0-rc1 | 0.35.2 |
ckb crates.io | From 0.36.0-rc1 | 0.36.1 |
ckb crates.io | From 0.36.0-rc1 | 0.36.1 |
ckb crates.io | From 0.37.0-rc1 | 0.37.1 |
ckb crates.io | From 0.37.0-rc1 | 0.37.1 |
4 more packages
ckb crates.io | From 0.38.0-rc1 | 0.38.2 |
ckb crates.io | From 0.38.0-rc1 | 0.38.2 |
ckb crates.io | From 0.39.0-rc1 | 0.39.0 |
ckb crates.io | From 0.39.0-rc1 | 0.39.0 |
How do I fix GHSA-29c2-65rj-h343?
Upgrade ckb to a fixed version for your release line: 0.35.2, 0.36.1, 0.37.1 or 0.38.2.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-29c2-65rj-h343 being exploited?
There is no known exploitation of GHSA-29c2-65rj-h343 in the wild and no public exploit code.