CVE-2023-38701CWE-20

Hydra's committed UTxOs at Commit validator and UTxOs at Initial validator can be spent arbitrarily by anyone

Critical · published October 4, 2023

CVSS v3.1
9.1
EPSS
1%
Percentile
66.1
In the wild
Unconfirmed
What it is

🚨 A flawed check in the commit validator of Hydra allows any user to spend any UTxO, turning your committed funds into a heist waiting to happen! 🔥 Think of it like a restaurant where anyone can pick from the tables before the diners get their meals — it completely undermines the whole dining experience! With this vulnerability, an attacker could snatch funds that users are trying to commit into a Hydra head, preventing legitimate transactions and possibly leading to devastating financial losses for those users. Moreover, they could block any Hydra head from opening, causing chaos in transactions. It's a complete recipe for disaster!

Put simply

Think of it like a restaurant where anyone can pick from the tables before the diners get their meals — it completely undermines the whole dining experience! This flaw occurs because the `commit` and `initial` validators improperly check the `ViaAbort` redeemer, allowing unauthorized access to spend committed UTxOs by any user instead of just the original committers.

What to do

With this vulnerability, an attacker could snatch funds that users are trying to commit into a Hydra head, preventing legitimate transactions and possibly leading to devastating financial losses for those users. Moreover, they could block any Hydra head from opening, causing chaos in transactions. It's a complete recipe for disaster! To protect your assets, immediately upgrade to Hydra version 0.12.0 or later. Review your protocols to ensure that robust access checks are in place for all validators. It’s crucial to monitor the system for any unauthorized access attempts as well! You've got this! Implement these fixes, and you'll be back in the game, keeping your funds safe and sound. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01129 · 66.1th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2023-10-04T18:48Z
EPSS history
Timeline
  • 04 OCT 18:48Z
    Hydra's committed UTxOs at Commit validator and UTxOs at Initial validator can be spent arbitrarily by anyone
    cvelistv5