{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-37158 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-37158 is a low-severity vulnerability in evmos, published on 17 Jun 2024."},"fix_prompt":"Check this codebase for CVE-2024-37158 and fix it if it is affected.\n\nWhat it is: CVE-2024-37158 is a low-severity vulnerability in evmos, published on 17 Jun 2024. \nExploitation: There is no known exploitation of CVE-2024-37158 in the wild and no public exploit code.\n\nAffected product: evmos. No package-level version data is available, so check the vendor advisory linked from the reference page.\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/CVE-2024-37158/ (Markdown: https://insights.sbomify.com/CVE-2024-37158/index.md)","id":"CVE-2024-37158","markdown":"https://insights.sbomify.com/CVE-2024-37158/index.md","name":"CVE-2024-37158","record":{"aliases":[],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"evmos","vendor":"evmos"}],"cvss":{"score":3.5,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-691","name":"Insufficient Control Flow Management"}],"description":"Evmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmos Network. Preliminary checks on actions computed by the clawback vesting accounts are performed in the ante handler. Evmos core, implements two different ante handlers: one for Cosmos transactions and one for Ethereum transactions. Checks performed on the two implementation are different. The vulnerability discovered allowed a clawback account to bypass Cosmos ante handler checks by sending an Ethereum transaction targeting a precompile used to interact with a Cosmos SDK module. This vulnerability is fixed in 18.0.0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Evmos is missing precompile checks","id":"CVE-2024-37158","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Evmos is missing create validator check","id":"CVE-2024-37159"},"packages":[],"prev":{"headline":"Discourse vulnerable to Server-Side Request Forgery via FastImage","id":"CVE-2024-37157"},"products":["evmos"],"published":"2024-06-17","related":[{"cvss_score":9.1,"headline":"Evmos' transaction execution not accounting for all state transition after interaction with precompiles","id":"CVE-2024-32644","kev_date_added":null,"published":"2024-04-19"},{"cvss_score":8.8,"headline":"Evmos vulnerable to exploit of smart contract account and vesting","id":"CVE-2024-39696","kev_date_added":null,"published":"2024-07-05"},{"cvss_score":8.1,"headline":"Account compromise in Evmos","id":"CVE-2022-24738","kev_date_added":null,"published":"2022-03-07"},{"cvss_score":7.5,"headline":"Evmos's contract balance not updating correctly after interchain transaction","id":"CVE-2024-37153","kev_date_added":null,"published":"2024-06-06"},{"cvss_score":5.3,"headline":"Evmos allows unvested token delegations","id":"CVE-2024-37154","kev_date_added":null,"published":"2024-06-06"},{"cvss_score":3.5,"headline":"Evmos is missing create validator check","id":"CVE-2024-37159","kev_date_added":null,"published":"2024-06-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["evmos"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-37158/"}