{"id":"GHSA-9mfc-chwf-7whf","aliases":["GHSA-9mfc-chwf-7whf"],"related":[],"kind":"vulnerability","state":"published","title":"ckb: Large dep group requires a lot of resources to process but the cost to commit the transaction is very low.","summary":"### Impact\n\nWhen 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. \n\n### Patches\n\nIn 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.\n\nIn 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\n\nWhen 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. \n\n### Patches\n\nIn 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.\n\nIn 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.","format":"markdown","source":"ghsa"}],"published":"2022-11-02T18:14:01.000Z","modified":"2022-11-02T18:14:01.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.43.3"}],"ecosystem":"crates.io","package":"ckb","purl":"pkg:cargo/ckb","source":"ghsa"}],"references":[{"url":"https://github.com/nervosnetwork/ckb/security/advisories/GHSA-9mfc-chwf-7whf","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nervosnetwork/ckb","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9mfc-chwf-7whf","url":"https://github.com/advisories/GHSA-9mfc-chwf-7whf","licence":"CC-BY-4.0","modified":"2022-11-02T18:14:01.000Z"}],"updatedAt":"2026-11-25T22:56:42.416Z"}