NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹 Go
Not in CISA KEV

Evmos vulnerable to unauthorized account creation with vesting moduleGHSA-m99c-q26r-m7m7

GHSA-m99c-q26r-m7m7 is a security vulnerability in github.com/evmos/evmos/v13/x/vesting. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.

Also known asGO-2024-2731
Published
Updated
Affected
2 pkgs
Patched
None yet
Exploits
None indexed
Exploitation data as of Jun 10, 2024 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

2 pkgs affected
🐹github.com/evmos/evmos/v13/x/vesting🐹github.com/evmos/evmos/v13

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

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:

  • only the account receiving the vesting funds will be able to create such an account by calling the CreateClawbackVestingAccount method and defining a funder address
  • vesting and lockup periods can then be created by that funder address using FundClawbackAccount

Patches

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?

Affected Packages

2 total
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/evmos/evmos/v13/x/vestingall versionsNo fix
🐹Gogithub.com/evmos/evmos/v13all versionsNo fix

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/evmos/evmos/v13/x/vesting, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Remediation status

    The records we use list no patched version of github.com/evmos/evmos/v13/x/vesting for GHSA-m99c-q26r-m7m7. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.

  3. Mitigate without a patch

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

### 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
O3 Security · Impact-Aware SCA

Is GHSA-m99c-q26r-m7m7 in your dependencies?

Find it across Go, including transitive dependencies.

Evmos vulnerable to unauthorized account creation with…