{"answers":{"affected":"8 open source packages ship an affected version, including github.com/crypto-org-chain/cronos, github.com/tharsis/ethermint and github.com/tharsis/evmos. It affects 3 products.","exploited":"There is no known exploitation of CVE-2021-43839 in the wild and no public exploit code.","fix":"Upgrade github.com/crypto-org-chain/cronos to 0.6.5 or later.","what":"CVE-2021-43839 is a high-severity vulnerability in crypto-org-chain cronos, published on 21 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-43839 and fix it if it is affected.\n\nWhat it is: CVE-2021-43839 is a high-severity vulnerability in crypto-org-chain cronos, published on 21 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-43839 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/crypto-org-chain/cronos (Go): affected all versions; fixed in 0.6.5\n- github.com/crypto-org-chain/cronos (Go): affected all versions; fixed in 0.6.5\n- github.com/tharsis/ethermint (Go): affected all versions; fixed in 0.7.3\n- github.com/tharsis/ethermint (Go): affected all versions; fixed in 0.7.3\n- github.com/tharsis/ethermint (Go): affected from 0.8.0; fixed in 0.10.0\n- github.com/tharsis/ethermint (Go): affected from 0.8.0; fixed in 0.10.0\n- github.com/tharsis/evmos (Go): affected all versions up to 0.4.2; no fix listed\n- github.com/tharsis/evmos (Go): affected all versions up to 0.4.2; 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/CVE-2021-43839/ (Markdown: https://insights.sbomify.com/CVE-2021-43839/index.md)","id":"CVE-2021-43839","markdown":"https://insights.sbomify.com/CVE-2021-43839/index.md","name":"CVE-2021-43839","record":{"aliases":["GHSA-f854-hpxv-cw9r"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Cronos blockchain node","requires_auth":"none","summary":"Attackers can drain block transaction fees from the FeeCollector by sending crafted Ethereum transactions, affecting Cronos blockchain validator nodes.","user_interaction":"not_required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cronos","vendor":"crypto"},{"product":"ethermint","vendor":"crypto"},{"product":"evmos","vendor":"crypto"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-670","name":"Always-Incorrect Control Flow Implementation"}],"description":"Cronos is a commercial implementation of a blockchain. In Cronos nodes running versions before v0.6.5, it is possible to take transaction fees from Cosmos SDK's FeeCollector for the current block by sending a custom crafted MsgEthereumTx. This problem has been patched in Cronos v0.6.5. There are no tested workarounds. All validator node operators are recommended to upgrade to Cronos v0.6.5 at their earliest possible convenience.","ecosystems":["Go"],"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":"Drainage of FeeCollector's Block Transaction Fees","id":"CVE-2021-43839","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"business_logic","year":"2021"},"n_packages":8,"n_references":3,"next":{"headline":"Path traversal in message_bus","id":"CVE-2021-43840"},"packages":[{"ecosystem":"Go","fixed":["0.6.5"],"introduced":["0"],"last_affected":[],"package":"github.com/crypto-org-chain/cronos","purl":null,"source":"GHSA-f854-hpxv-cw9r"},{"ecosystem":"Go","fixed":["0.6.5"],"introduced":["0"],"last_affected":[],"package":"github.com/crypto-org-chain/cronos","purl":"pkg:golang/github.com/crypto-org-chain/cronos","source":"GHSA-f854-hpxv-cw9r"},{"ecosystem":"Go","fixed":["0.7.3"],"introduced":["0"],"last_affected":[],"package":"github.com/tharsis/ethermint","purl":null,"source":"GHSA-f854-hpxv-cw9r"},{"ecosystem":"Go","fixed":["0.7.3"],"introduced":["0"],"last_affected":[],"package":"github.com/tharsis/ethermint","purl":"pkg:golang/github.com/tharsis/ethermint","source":"GHSA-f854-hpxv-cw9r"},{"ecosystem":"Go","fixed":["0.10.0"],"introduced":["0.8.0"],"last_affected":[],"package":"github.com/tharsis/ethermint","purl":null,"source":"GHSA-f854-hpxv-cw9r"},{"ecosystem":"Go","fixed":["0.10.0"],"introduced":["0.8.0"],"last_affected":[],"package":"github.com/tharsis/ethermint","purl":"pkg:golang/github.com/tharsis/ethermint","source":"GHSA-f854-hpxv-cw9r"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.4.2"],"package":"github.com/tharsis/evmos","purl":null,"source":"GHSA-f854-hpxv-cw9r"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.4.2"],"package":"github.com/tharsis/evmos","purl":"pkg:golang/github.com/tharsis/evmos","source":"GHSA-f854-hpxv-cw9r"}],"prev":{"headline":"Regular Expression Denial of Service (ReDoS) in jsx-slack","id":"CVE-2021-43838"},"products":["cronos"],"published":"2021-12-21","related":[{"cvss_score":8.2,"headline":"Ethermint DoS through Unintended Contract Selfdestruct","id":"CVE-2022-35936","kev_date_added":null,"published":"2022-08-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["crypto-org-chain"]},"summary":"Attackers can drain block transaction fees from the FeeCollector by sending crafted Ethereum transactions, affecting Cronos blockchain validator nodes.","url":"https://insights.sbomify.com/CVE-2021-43839/"}