Hydra 2.1.0より前に預け入れ資産を第三者に横取りされる脆弱性
概要
Hydraの2.1.0より前のバージョンには、預け入れ(Deposit)の引き出し処理に検証の漏れがあり、確認前の預け入れ資産を第三者が期限前に別のアドレスへ移せる脆弱性があります。深刻度はCVSS v4.0で8.2とされています。修正版の2.1.0で対応できるため、速やかに2.1.0以降へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Hydraの2.1.0より前のバージョンには、預け入れ(Deposit)の引き出し処理に検証の漏れがあり、確認前の預け入れ資産を第三者が期限前に別のアドレスへ移せる脆弱性があります。深刻度はCVSS v4.0で8.2とされています。修正版の2.1.0で対応できるため、速やかに2.1.0以降へ更新してください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
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.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com