{"answers":{"affected":"3 open source packages ship an affected version, including github.com/ethereum/go-ethereum. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-26241 in the wild and no public exploit code.","fix":"Upgrade github.com/ethereum/go-ethereum to 1.9.17 or later.","what":"CVE-2020-26241 is a medium-severity vulnerability in go-ethereum, published on 25 Nov 2020. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-26241 and fix it if it is affected.\n\nWhat it is: CVE-2020-26241 is a medium-severity vulnerability in go-ethereum, published on 25 Nov 2020. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-26241 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/ethereum/go-ethereum (Go): affected from 1.9.7; fixed in 1.9.17\n- github.com/ethereum/go-ethereum (Go): affected from 1.9.7; fixed in 1.9.17\n- github.com/ethereum/go-ethereum (Go): affected from 1.9.7; fixed in 1.9.17\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-2020-26241/ (Markdown: https://insights.sbomify.com/CVE-2020-26241/index.md)","id":"CVE-2020-26241","markdown":"https://insights.sbomify.com/CVE-2020-26241/index.md","name":"CVE-2020-26241","record":{"aliases":["GHSA-69v6-xc2j-r2jf","GO-2022-0771"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Ethereum client","requires_auth":"low_privilege","summary":"An attacker can cause a chain split in Geth nodes by exploiting a shallow copy bug in the dataCopy pre-compiled contract, leading to consensus failure.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"go_ethereum","vendor":"ethereum"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-682","name":"Incorrect Calculation"}],"description":"Go Ethereum, or \"Geth\", is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth before version 1.9.17 which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth's pre-compiled dataCopy (at 0x00...04) contract did a shallow copy on invocation. An attacker could deploy a contract that writes X to an EVM memory region R, then calls 0x00..04 with R as an argument, then overwrites R to Y, and finally invokes the RETURNDATACOPY opcode. When this contract is invoked, a consensus-compliant node would push X on the EVM stack, whereas Geth would push Y. This is fixed in version 1.9.17.","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":"Shallow copy bug in geth","id":"CVE-2020-26241","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2020"},"n_packages":3,"n_references":2,"next":{"headline":"Denial of service in geth","id":"CVE-2020-26242"},"packages":[{"ecosystem":"Go","fixed":["1.9.17"],"introduced":["1.9.7"],"last_affected":[],"package":"github.com/ethereum/go-ethereum","purl":null,"source":"GHSA-69v6-xc2j-r2jf"},{"ecosystem":"Go","fixed":["1.9.17"],"introduced":["1.9.7"],"last_affected":[],"package":"github.com/ethereum/go-ethereum","purl":"pkg:golang/github.com/ethereum/go-ethereum","source":"GHSA-69v6-xc2j-r2jf"},{"ecosystem":"Go","fixed":["1.9.17"],"introduced":["1.9.7"],"last_affected":[],"package":"github.com/ethereum/go-ethereum","purl":"pkg:golang/github.com/ethereum/go-ethereum","source":"GO-2022-0771"}],"prev":{"headline":"Erroneous Proof of Work calculation in geth","id":"CVE-2020-26240"},"products":["go-ethereum"],"published":"2020-11-25","related":[{"cvss_score":8.7,"headline":"Go Ethereum affected by DoS via malicious p2p message","id":"CVE-2026-26314","kev_date_added":null,"published":"2026-02-19"},{"cvss_score":7.5,"headline":"go-ethereum vulnerable to denial of service via crafted GraphQL query","id":"CVE-2023-42319","kev_date_added":null,"published":"2023-10-18"},{"cvss_score":7.5,"headline":"Denial of service via malicious p2p message in go-ethereum","id":"CVE-2023-40591","kev_date_added":null,"published":"2023-09-06"},{"cvss_score":7.5,"headline":"Denial of service in go-ethereum","id":"CVE-2021-42219","kev_date_added":null,"published":"2022-03-16"},{"cvss_score":7.5,"headline":"Denial of Service in Go-Ethereum","id":"CVE-2022-23327","kev_date_added":null,"published":"2022-03-04"},{"cvss_score":7.5,"headline":"Denial of Service in Go-Ethereum","id":"CVE-2022-23328","kev_date_added":null,"published":"2022-03-04"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2018-20421","kev_date_added":null,"published":"2018-12-24"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["ethereum"]},"summary":"An attacker can cause a chain split in Geth nodes by exploiting a shallow copy bug in the dataCopy pre-compiled contract, leading to consensus failure.","url":"https://insights.sbomify.com/CVE-2020-26241/"}