GHSA-m99c-q26r-m7m7: Github.com/evmos/evmos/v13/x/vesting Evmos Vulnerable To Unauthorized Account Vulnerability
MODERATEGHSA-m99c-q26r-m7m7 is a MODERATE evmos vulnerable to unauthorized account vulnerability (General Security Weakness) affecting Github.com/evmos/evmos/v13/x/vesting libraries in the Go ecosystem. The issue involves evmos vulnerable to unauthorized account creation with vesting module. Remediation is available in the latest vendor maintenance releases.
GHSA-m99c-q26r-m7m7 at a Glance
How to Fix GHSA-m99c-q26r-m7m7
To remediate this vulnerability, upgrade all affected Github.com/evmos/evmos/v13/x/vesting dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/evmos/evmos/v13/x/vesting to Latest secure release
Upgrade github.com/evmos/evmos/v13 to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/evmos/evmos/v13/x/vesting
How to Check if You Are Affected
To determine whether your application is affected by GHSA-m99c-q26r-m7m7, inspect your project dependencies for Github.com/evmos/evmos/v13/x/vesting:
inspect dependencies for github.com/evmos/evmos/v13/x/vesting
Analyze the terminal output to locate any version of Github.com/evmos/evmos/v13/x/vesting in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Github.com/evmos/evmos/v13/x/vesting, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-m99c-q26r-m7m7 Affected Github.com/evmos/evmos/v13/x/vesting Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/evmos/evmos/v13/x/vesting
|
Go |
≤ 13.0.2
|
|
|
github.com/evmos/evmos/v13
|
Go |
≤ 13.0.2
|
|
References
Frequently Asked Questions
What is GHSA-m99c-q26r-m7m7?
Which Github.com/evmos/evmos/v13/x/vesting versions are affected?
What version fixes GHSA-m99c-q26r-m7m7?
Is github.com/evmos/evmos/v13/x/vesting affected?
Is github.com/evmos/evmos/v13 affected?
What CWE is associated with GHSA-m99c-q26r-m7m7?
How can I check Go dependencies for GHSA-m99c-q26r-m7m7?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m99c-q26r-m7m7",
"modified" : "2024-06-10T20:09:07Z",
"published" : "2024-04-17T17:37:23Z",
"aliases" : [ ],
"summary" : "Evmos vulnerable to unauthorized account creation with vesting module",
"details" : "### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nUsing the vesting module, a malicious attacker can create a new vesting account at a given\naddress, before a contract is created on that address.\n\nAddresses 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. \nWhen 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.\n\nIn order to remediate this, an alternative user flow is being implemented for the vesting module:\n- 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\n- vesting and lockup periods can then be created by that funder address using `FundClawbackAccount`\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\n### References\n_Are there any links users can visit to find out more?_\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/evmos/evmos/v13/x/vesting"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "13.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/evmos/evmos/v13"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "13.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/evmos/evmos/security/advisories/GHSA-m99c-q26r-m7m7"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/evmos/evmos"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2024-2731"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-17T17:37:23Z",
"nvd_published_at" : null
}
}