{"answers":{"affected":"3 open source packages ship an affected version, including github.com/ElrondNetwork/elrond-go. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-46173 in the wild and no public exploit code.","fix":"Upgrade github.com/ElrondNetwork/elrond-go to 1.3.50 or later.","what":"CVE-2022-46173 is a high-severity denial of service vulnerability in ElrondNetwork elrond-go, published on 28 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-46173 and fix it if it is affected.\n\nWhat it is: CVE-2022-46173 is a high-severity denial of service vulnerability in ElrondNetwork elrond-go, published on 28 Dec 2022. 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-2022-46173 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/ElrondNetwork/elrond-go (Go): affected all versions; fixed in 1.3.50\n- github.com/ElrondNetwork/elrond-go (Go): affected all versions; fixed in 1.3.50\n- github.com/ElrondNetwork/elrond-go (Go): affected all versions; fixed in 1.3.50\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-2022-46173/ (Markdown: https://insights.sbomify.com/CVE-2022-46173/index.md)","id":"CVE-2022-46173","markdown":"https://insights.sbomify.com/CVE-2022-46173/index.md","name":"CVE-2022-46173","record":{"aliases":["GHSA-p228-4mrh-ww7r","GO-2022-1200"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Blockchain node software","requires_auth":"none","summary":"A flaw in Elrond-GO causes nodes to stop notarizing metachain blocks when processing specific cross-shard transactions, leading to a denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"elrond_go","vendor":"elrond"}],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-669","name":"Incorrect Resource Transfer Between Spheres"}],"description":"Elrond-GO is a go implementation for the Elrond Network protocol. Versions prior to 1.3.50 are subject to a processing issue where nodes are affected when trying to process a cross-shard relayed transaction with a smart contract deploy transaction data. The problem was a bad correlation between the transaction caches and the processing component. If the above-mentioned transaction was sent with more gas than required, the smart contract result (SCR transaction) that should have returned the leftover gas, would have been wrongly added to a cache that the processing unit did not consider. The node stopped notarizing metachain blocks. The fix was actually to extend the SCR transaction search in all other caches if it wasn't found in the correct (expected) sharded-cache. There are no known workarounds at this time. This issue has been patched in version 1.3.50.","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":"Elrond go Processing: fallback search of SCRs when not found in the main cache","id":"CVE-2022-46173","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":3,"n_references":3,"next":{"headline":"Race condition during concurrent TLS mounts in efs-utils","id":"CVE-2022-46174"},"packages":[{"ecosystem":"Go","fixed":["1.3.50"],"introduced":["0"],"last_affected":[],"package":"github.com/ElrondNetwork/elrond-go","purl":null,"source":"GHSA-p228-4mrh-ww7r"},{"ecosystem":"Go","fixed":["1.3.50"],"introduced":["0"],"last_affected":[],"package":"github.com/ElrondNetwork/elrond-go","purl":"pkg:golang/github.com/ElrondNetwork/elrond-go","source":"GHSA-p228-4mrh-ww7r"},{"ecosystem":"Go","fixed":["1.3.50"],"introduced":["0"],"last_affected":[],"package":"github.com/ElrondNetwork/elrond-go","purl":"pkg:golang/github.com/ElrondNetwork/elrond-go","source":"GO-2022-1200"}],"prev":{"headline":"authentik allows existing authenticated users to create arbitrary accounts","id":"CVE-2022-46172"},"products":["elrond-go"],"published":"2022-12-28","related":[{"cvss_score":7.5,"headline":"elrond-go MultiESDTNFTTransfer call on a SC address with missing function name","id":"CVE-2022-36058","kev_date_added":null,"published":"2022-09-06"},{"cvss_score":6.5,"headline":"Elrond go can execute on same context checks in VM","id":"CVE-2022-36061","kev_date_added":null,"published":"2022-09-06"}],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-11","vendors":["ElrondNetwork"]},"summary":"A flaw in Elrond-GO causes nodes to stop notarizing metachain blocks when processing specific cross-shard transactions, leading to a denial of service.","url":"https://insights.sbomify.com/CVE-2022-46173/"}