consignment validation succeeds despite changed txid in bundle pubWitness #261
Labels
question
Further information is requested
*security*
Issues affecting safety/security (include undefined behaviours)
Milestone
We are experiencing an issue on the latest master where a modified consignment (
attack_bundles_pubWitness_data_txid.yaml
in the zip) validates correctly even though it's modified from an otherwise valid consignment (consignment_A.yaml
in the zip). The only change in the consignment is the txid of one of the pubWitnesses included in bundles, specifically the one referring to the last transaction in the history. Changing txids for transactions other than the last one correctly leads to a validation error, unless also the corresponding prevout is changed to the same txid, in which case validation succeeds (attack_bundles_pubWitness_data_txid_and_prevout.yaml
in the zip).I would expect validation code to check consistency between transaction data and txid and this indeed used to be the case at least until rgb-core tag
v0.11.0-beta.6
(commitcb6892b6
).consignments.zip
The text was updated successfully, but these errors were encountered: