Vulnerability · Published Jul 5, 2024 · Assigned by GitHub_M

CVE-2024-39696Evmos vulnerable to exploit of smart contract account and vesting

High 8.8

In plain English

A high-severity incorrect authorization in evmos from evmos. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.5%top 55.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Evmos is a decentralized Ethereum Virtual Machine chain on the Cosmos Network. Prior to version 19.0.0, a user can create a vesting account with a 3rd party account (EOA or contract) as funder. Then, this user can create an authorization for the contract.CallerAddress, this is the authorization checked in the code. But the funds are taken from the funder address provided in the message. Consequently, the user can fund a vesting account with a 3rd party account without its permission. The funder address can be any address, so this vulnerability can be used to drain all the accounts in the chain. The issue has been patched in version 19.0.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/evmos/evmosno fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v10no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v11no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v12no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v13no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v14no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v15no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v16no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v17no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v1819.0.0GHSA-q6hg-6m9x-5g9c
Gogithub.com/evmos/evmos/v18no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v1919.0.0GO-2024-2974
Gogithub.com/evmos/evmos/v2no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v3no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v4no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v5no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v6no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v7no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v8no fix listedGO-2024-2974
Gogithub.com/evmos/evmos/v9no fix listedGO-2024-2974

Affected products (as reported)

VendorProductVersions
evmos evmos < 19.0.0

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References