Description (CNA)
Zebra zebrad 4.5.0 and zebra-script 7.0.0 count P2SH redeem script signature operations in legacy mode rather than zcashd's accurate P2SH mode, overcounting CHECKMULTISIG preceded by OP_1 through OP_16 as 20 sigops and causing a consensus divergence. Remote attackers can broadcast P2SH spends using low-threshold multisig redeem scripts so that a block zcashd accepts exceeds Zebra's inflated MAX_BLOCK_SIGOPS count, causing Zebra nodes to reject it and stall off the chain.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| ZcashFoundation / zebra | affected 4.5.0 before 4.5.1; unaffected 4.5.1 |
| ZcashFoundation / zebra | affected 7.0.0 before 7.0.1; unaffected 7.0.1 |
CWE
CWE-628
References
- https://github.com/ZcashFoundation/zebra/security/advisories/GHSA-2prc-cj5x-4443
- https://www.vulncheck.com/advisories/zebra-4.5.0-consensus-split-via-p2sh-sigop-overcount
ADP enrichment
No English description supplied.
No references supplied.