Hydra 2.1.0より前に預け入れ資産を第三者に横取りされる脆弱性
Summary
Hydraの2.1.0より前のバージョンには、預け入れ(Deposit)の引き出し処理に検証の漏れがあり、確認前の預け入れ資産を第三者が期限前に別のアドレスへ移せる脆弱性があります。深刻度はCVSS v4.0で8.2とされています。修正版の2.1.0で対応できるため、速やかに2.1.0以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Hydraの2.1.0より前のバージョンには、預け入れ(Deposit)の引き出し処理に検証の漏れがあり、確認前の預け入れ資産を第三者が期限前に別のアドレスへ移せる脆弱性があります。深刻度はCVSS v4.0で8.2とされています。修正版の2.1.0で対応できるため、速やかに2.1.0以降へ更新してください。
Original description The description as published by the source.
Hydra is a layer-two scalability solution for Cardano. Prior to 2.1.0, the Claim branch in hydra-plutus/validators/deposit.ak checks only that datum.head_id matches the attacker-controlled redeemer.currencySymbol and that the transaction is valid before the deposit deadline. It neither requires spending the Head state-token UTxO in the same transaction nor constrains outputs. After a deposit made through POST /commit is confirmed, any third party able to build a Cardano transaction can observe and consume the pending deposit UTxO before its deadline and redirect the assets to an arbitrary address. A standalone deposit spend invokes no Head validator, bypassing its safety checks; historical head-ID binding and the Aiken rewrite retained this missing invariant. The default deadline is three times depositPeriod, so the described attack applies to pending deposits before that deadline. This issue is fixed in version 2.1.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com