{"id":"CVE-2023-42806","published":"2023-09-21T16:45:34Z","modified":"2024-09-24T14:50:38Z","title":"Snapshot signature not including HeadID will allow replay attacks","vendor":"input-output-hk","product":"hydra","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00675,"percentile":0.47273,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/input-output-hk/hydra/security/advisories/GHSA-gr36-mc6v-72qq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/input-output-hk/hydra/blob/ec6c7a2ab651462228475d0b34264e9a182c22bb/hydra-node/src/Hydra/HeadLogic.hs#L357","tags":["x_refsource_MISC"]},{"url":"https://github.com/input-output-hk/hydra/blob/ec6c7a2ab651462228475d0b34264e9a182c22bb/hydra-node/src/Hydra/Snapshot.hs#L50-L54","tags":["x_refsource_MISC"]},{"url":"https://github.com/input-output-hk/hydra/blob/ec6c7a2ab651462228475d0b34264e9a182c22bb/hydra-plutus/src/Hydra/Contract/Head.hs#L583-L599","tags":["x_refsource_MISC"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":9.45},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"input-output-hk","affectedVersions":[{"vendor":"input-output-hk","product":"hydra","versions":["< 0.13.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-24T14:29:01.242468Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-47232","exploited":false,"provenance":"source"}}