GHSA-8m29-fpq5-89jj: Zebra Vulnerable to Consensus Divergence in Transparent Sighash Hash-Type Handling
After a refactoring, Zebra failed to validate a consensus rule that restricted the possible values of sighash hash types for V5 transactions which were enabled in the NU5 network upgrade. Zebra nodes could thus accept and eventually mine a block that would be considered invalid by zcashd nodes, creating a consensus split between Zebra and zcashd nodes.
In a similar vein, for V4 transactions, Zebra mistakenly used the “canonical” hash type when computing the sighash while zcashd (correctly per the spec) uses the raw value, which could also crate a consensus split.
References
Code Behaviors & Features
Detect and mitigate GHSA-8m29-fpq5-89jj with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →