Skip to content

CVE-2023-42806 Snapshot signature not including HeadID will allow replay attacks

MediumCVSS 6.5 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

Hydra is the layer-two scalability solution for Cardano. Prior to version 0.13.0, not signing and verifying $\mathsf{cid}$ allows an attacker (which must be a participant of this head) to use a snapshot from an old head instance with the same participants to close the head or contest the state with it. This can lead to an incorrect distribution of value (= value extraction attack; hard, but possible) or prevent the head to finalize because the value available is not consistent with the closed utxo state (= denial of service; easy). A patch is planned for version 0.13.0. As a workaround, rotate keys between heads so not to re-use keys and not result in the same multi-signature participants.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
iohk hydra < 0.13.0 0.13.0 Fixed
input-output-hk hydra = < 0.13.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
input-output-hk hydra = < 0.13.0 No fix listed
iohk hydra < 0.13.0 0.13.0

References