{"answers":{"affected":"17 open source packages ship an affected version, including github.com/evmos/evmos/v13, github.com/evmos/evmos and github.com/evmos/evmos/v10.","exploited":"There is no known exploitation of GHSA-m99c-q26r-m7m7 in the wild and no public exploit code.","fix":"No fix has been published for GHSA-m99c-q26r-m7m7 yet. Limit exposure of the affected software until one is available.","what":"GHSA-m99c-q26r-m7m7 is a vulnerability in github.com/evmos/evmos, published on 17 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-m99c-q26r-m7m7 and fix it if it is affected.\n\nWhat it is: GHSA-m99c-q26r-m7m7 is a vulnerability in github.com/evmos/evmos, published on 17 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-m99c-q26r-m7m7 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/evmos/evmos/v13 (Go): affected all versions; no fix listed\n- github.com/evmos/evmos/v13 (Go): affected all versions up to 13.0.2; no fix listed\n- github.com/evmos/evmos/v13 (Go): affected all versions up to 13.0.2; no fix listed\n- github.com/evmos/evmos (Go): affected all versions; no fix listed\n- github.com/evmos/evmos/v10 (Go): affected all versions; no fix listed\n- github.com/evmos/evmos/v11 (Go): affected all versions; no fix listed\n- github.com/evmos/evmos/v12 (Go): affected all versions; no fix listed\n- github.com/evmos/evmos/v13/x/vesting (Go): affected all versions up to 13.0.2; no fix listed\n- github.com/evmos/evmos/v13/x/vesting (Go): affected all versions up to 13.0.2; no fix listed\n- github.com/evmos/evmos/v2 (Go): affected all versions; no fix listed\n- github.com/evmos/evmos/v3 (Go): affected all versions; no fix listed\n- github.com/evmos/evmos/v4 (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-m99c-q26r-m7m7/ (Markdown: https://insights.sbomify.com/GHSA-m99c-q26r-m7m7/index.md)","id":"GHSA-m99c-q26r-m7m7","markdown":"https://insights.sbomify.com/GHSA-m99c-q26r-m7m7/index.md","name":"GHSA-m99c-q26r-m7m7","record":{"aliases":["GO-2024-2731"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Evmos blockchain","requires_auth":"none","summary":"Attackers can front-run contract deployments by creating vesting accounts at deterministic addresses, preventing smart contract uploads.","user_interaction":"not_required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### 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?_","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"Evmos vulnerable to unauthorized account creation with vesting module","id":"GHSA-m99c-q26r-m7m7","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"business_logic","year":"2024"},"n_packages":17,"n_references":null,"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos","purl":"pkg:golang/github.com/evmos/evmos","source":"GO-2024-2731"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos/v10","purl":"pkg:golang/github.com/evmos/evmos/v10","source":"GO-2024-2731"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos/v11","purl":"pkg:golang/github.com/evmos/evmos/v11","source":"GO-2024-2731"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos/v12","purl":"pkg:golang/github.com/evmos/evmos/v12","source":"GO-2024-2731"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos/v13","purl":"pkg:golang/github.com/evmos/evmos/v13","source":"GO-2024-2731"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["13.0.2"],"package":"github.com/evmos/evmos/v13","purl":null,"source":"GHSA-m99c-q26r-m7m7"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["13.0.2"],"package":"github.com/evmos/evmos/v13","purl":"pkg:golang/github.com/evmos/evmos/v13","source":"GHSA-m99c-q26r-m7m7"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["13.0.2"],"package":"github.com/evmos/evmos/v13/x/vesting","purl":null,"source":"GHSA-m99c-q26r-m7m7"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["13.0.2"],"package":"github.com/evmos/evmos/v13/x/vesting","purl":"pkg:golang/github.com/evmos/evmos/v13/x/vesting","source":"GHSA-m99c-q26r-m7m7"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos/v2","purl":"pkg:golang/github.com/evmos/evmos/v2","source":"GO-2024-2731"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos/v3","purl":"pkg:golang/github.com/evmos/evmos/v3","source":"GO-2024-2731"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos/v4","purl":"pkg:golang/github.com/evmos/evmos/v4","source":"GO-2024-2731"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos/v5","purl":"pkg:golang/github.com/evmos/evmos/v5","source":"GO-2024-2731"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos/v6","purl":"pkg:golang/github.com/evmos/evmos/v6","source":"GO-2024-2731"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos/v7","purl":"pkg:golang/github.com/evmos/evmos/v7","source":"GO-2024-2731"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos/v8","purl":"pkg:golang/github.com/evmos/evmos/v8","source":"GO-2024-2731"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/evmos/evmos/v9","purl":"pkg:golang/github.com/evmos/evmos/v9","source":"GO-2024-2731"}],"products":null,"published":"2024-04-17","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can front-run contract deployments by creating vesting accounts at deterministic addresses, preventing smart contract uploads.","url":"https://insights.sbomify.com/GHSA-m99c-q26r-m7m7/"}