github.com/evmos/evmos/v13/x/vesting
Affected
- introduced
0, last affected13.0.2(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GO-2024-2731
Evmos vulnerable to unauthorized account creation with vesting module
Impact
_What kind of vulnerability is it? Who is impacted?_
Using the vesting module, a malicious attacker can create a new vesting account at a given
address, before a contract is created on that address.
Addresses of smart contracts deployed to the EVM are deterministic. Therefore, it would be possible for an attacker to front-run a contract creation and create a vesting account at that address.
When an address has been initialized without any contract code deployed to it, it will not be possible to upload any afterwards. In the described attack, this would mean that a malicious actor could prevent smart contracts from being deployed correctly.
In order to remediate this, an alternative user flow is being implemented for the vesting module:
CreateClawbackVestingAccount method and defining a funder addressFundClawbackAccountPatches
_Has the problem been patched? What versions should users upgrade to?_
Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_
References
_Are there any links users can visit to find out more?_
Medium Basis: The source's own band: MODERATE
0, last affected 13.0.2 (semver)None listed
No fixed version is listed.
0, last affected 13.0.2 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0