{"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-26240 in the wild and no public exploit code.","fix":"Upgrade github.com/ethereum/go-ethereum to 1.9.24 or later.","what":"CVE-2020-26240 is a medium-severity vulnerability in go-ethereum, published on 25 Nov 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-26240 and fix it if it is affected.\n\nWhat it is: CVE-2020-26240 is a medium-severity vulnerability in go-ethereum, published on 25 Nov 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-26240 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/ethereum/go-ethereum (Go): affected all versions; fixed in 1.9.24\n- github.com/ethereum/go-ethereum (Go): affected all versions; fixed in 1.9.24\n- github.com/ethereum/go-ethereum (Go): affected all versions; fixed in 1.9.24\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-26240/ (Markdown: https://insights.sbomify.com/CVE-2020-26240/index.md)","id":"CVE-2020-26240","markdown":"https://insights.sbomify.com/CVE-2020-26240/index.md","name":"CVE-2020-26240","record":{"aliases":["GHSA-v592-xf75-856p","GO-2022-0775"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"Ethereum client","requires_auth":"none","summary":"Miners using Geth may erroneously calculate Proof of Work due to a DAG generation flaw, potentially causing chain reorganizations or mining failures.","user_interaction":"required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"go_ethereum","vendor":"ethereum"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/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. An ethash mining DAG generation flaw in Geth before version 1.9.24 could cause miners to erroneously calculate PoW in an upcoming epoch (estimated early January, 2021). This happened on the ETC chain on 2020-11-06. This issue is relevant only for miners, non-mining nodes are unaffected. This issue is fixed as of 1.9.24","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":"Erroneous Proof of Work calculation in geth","id":"CVE-2020-26240","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"business_logic","year":"2020"},"n_packages":3,"n_references":4,"next":{"headline":"Shallow copy bug in geth","id":"CVE-2020-26241"},"packages":[{"ecosystem":"Go","fixed":["1.9.24"],"introduced":["0"],"last_affected":[],"package":"github.com/ethereum/go-ethereum","purl":null,"source":"GHSA-v592-xf75-856p"},{"ecosystem":"Go","fixed":["1.9.24"],"introduced":["0"],"last_affected":[],"package":"github.com/ethereum/go-ethereum","purl":"pkg:golang/github.com/ethereum/go-ethereum","source":"GHSA-v592-xf75-856p"},{"ecosystem":"Go","fixed":["1.9.24"],"introduced":["0"],"last_affected":[],"package":"github.com/ethereum/go-ethereum","purl":"pkg:golang/github.com/ethereum/go-ethereum","source":"GO-2022-0775"}],"prev":{"headline":"Cross-Site Scripting in Scratch browser addons","id":"CVE-2020-26239"},"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":"Miners using Geth may erroneously calculate Proof of Work due to a DAG generation flaw, potentially causing chain reorganizations or mining failures.","url":"https://insights.sbomify.com/CVE-2020-26240/"}