CVE-2023-42448

Hydra is the layer-two scalability solution for Cardano. Prior to version 0.13.0, the specification states that the contestation period in the datum of the UTxO at the head validator must stay unchanged as the state progresses from Open to Closed (Close transaction), but no such check appears to be performed in the `checkClose` function of the head validator. This would allow a malicious participant to modify the contestation deadline of the head to either allow them to fanout the head without giving another participant the chance to contest, or prevent any participant from ever redistributing the funds locked in the head via a fan-out. Version 0.13.0 contains a patch for this issue.
Configurations

Configuration 1 (hide)

cpe:2.3:a:iohk:hydra:*:*:*:*:*:*:*:*

History

10 Oct 2023, 13:07

Type Values Removed Values Added
First Time Iohk
Iohk hydra
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.1
CPE cpe:2.3:a:iohk:hydra:*:*:*:*:*:*:*:*
CWE CWE-20 CWE-1284
References (MISC) https://github.com/input-output-hk/hydra/commit/2f45529729e28254a62f7a7c8d6649066923ed1f - (MISC) https://github.com/input-output-hk/hydra/commit/2f45529729e28254a62f7a7c8d6649066923ed1f - Patch
References (MISC) https://github.com/input-output-hk/hydra/blob/master/hydra-plutus/src/Hydra/Contract/Head.hs#L320-L323 - (MISC) https://github.com/input-output-hk/hydra/blob/master/hydra-plutus/src/Hydra/Contract/Head.hs#L320-L323 - Product
References (MISC) https://github.com/input-output-hk/hydra/security/advisories/GHSA-mgcx-6p7h-5996 - (MISC) https://github.com/input-output-hk/hydra/security/advisories/GHSA-mgcx-6p7h-5996 - Vendor Advisory
References (MISC) https://github.com/input-output-hk/hydra/blob/master/CHANGELOG.md#0130---2023-10-03 - (MISC) https://github.com/input-output-hk/hydra/blob/master/CHANGELOG.md#0130---2023-10-03 - Release Notes
References (MISC) https://github.com/input-output-hk/hydra/blob/master/hydra-plutus/src/Hydra/Contract/Head.hs#L284-L296 - (MISC) https://github.com/input-output-hk/hydra/blob/master/hydra-plutus/src/Hydra/Contract/Head.hs#L284-L296 - Product

04 Oct 2023, 19:53

Type Values Removed Values Added
New CVE

Information

Published : 2023-10-04 19:15

Updated : 2023-12-10 15:14


NVD link : CVE-2023-42448

Mitre link : CVE-2023-42448

CVE.ORG link : CVE-2023-42448


JSON object : View

Products Affected

iohk

  • hydra
CWE
CWE-1284

Improper Validation of Specified Quantity in Input

CWE-20

Improper Input Validation