VDB
Sign up
MEDIUM

GHSA-h4c3-5275-vrmg

Nervos CKB Pool does not remove the conflicting transactions from the statistics

Details

### Impact

There's a bug in the pool statistics that when conflicting transactions are removed from the pool, they are not subtracted from the statics. Finally, the transaction pool keeps full and reject all transactions.

### Patches

0.39.2

### Workarounds

Restart the CKB node.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/ckb
Introduced in: 0Fixed in: 0.39.2

Upgrade ckb to 0.39.2 or newer (ecosystem crates.io).

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:cargo/ckb"]}'