Security mailing lists by PureSourceCode

GHSA-9mfc-chwf-7whf

MEDIUM

ckb: Large dep group requires a lot of resources to process but the cost to commit the transaction is very low.

Impact

When a transaction contains a dep group with many cells, the resources required to process it are not linear to the transaction size nor spent script cycles.

Patches

In 0.43.3, nodes drop the transactions relayed to them when they contain a dep group with more than 64 cells. They do not ban peers who send them such transactions.

In 0.100, the consensus disallow transactions using a dep group with more than 64 cells. Peers relaying such transaction must be banned. Blocks committing such transactions must be rejected.

Published
2 Nov 2022
Last modified
2 Nov 2022
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io ckb < 0.43.3 0.43.3

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.