{"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-2021-39137 in the wild and no public exploit code.","fix":"Upgrade github.com/ethereum/go-ethereum to 1.10.8 or later.","what":"CVE-2021-39137 is a medium-severity vulnerability in go-ethereum, published on 24 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-39137 and fix it if it is affected.\n\nWhat it is: CVE-2021-39137 is a medium-severity vulnerability in go-ethereum, published on 24 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-39137 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.10.8\n- github.com/ethereum/go-ethereum (Go): affected from 1.10.0; fixed in 1.10.8\n- github.com/ethereum/go-ethereum (Go): affected from 1.10.0; fixed in 1.10.8\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-39137/ (Markdown: https://insights.sbomify.com/CVE-2021-39137/index.md)","id":"CVE-2021-39137","markdown":"https://insights.sbomify.com/CVE-2021-39137/index.md","name":"CVE-2021-39137","record":{"aliases":["GHSA-9856-9gg9-qcmq","GO-2022-0254"],"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":"A consensus flaw in go-ethereum can cause a chain split, leading to denial of service for nodes running vulnerable versions.","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:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"description":"go-ethereum is the official Go implementation of the Ethereum protocol. In affected versions a consensus-vulnerability in go-ethereum (Geth) could cause a chain split, where vulnerable versions refuse to accept the canonical chain. Further details about the vulnerability will be disclosed at a later date. A patch is included in the upcoming `v1.10.8` release. No workaround are available.","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":"Consensus flaw during block processing in go-ethereum","id":"CVE-2021-39137","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2021"},"n_packages":3,"n_references":2,"next":{"headline":"New anonymous user session acts as if it's created with password","id":"CVE-2021-39138"},"packages":[{"ecosystem":"Go","fixed":["1.10.8"],"introduced":["0"],"last_affected":[],"package":"github.com/ethereum/go-ethereum","purl":"pkg:golang/github.com/ethereum/go-ethereum","source":"GO-2022-0254"},{"ecosystem":"Go","fixed":["1.10.8"],"introduced":["1.10.0"],"last_affected":[],"package":"github.com/ethereum/go-ethereum","purl":null,"source":"GHSA-9856-9gg9-qcmq"},{"ecosystem":"Go","fixed":["1.10.8"],"introduced":["1.10.0"],"last_affected":[],"package":"github.com/ethereum/go-ethereum","purl":"pkg:golang/github.com/ethereum/go-ethereum","source":"GHSA-9856-9gg9-qcmq"}],"prev":{"headline":"Cross-site scripting vulnerability in file upload","id":"CVE-2021-39136"},"products":["go-ethereum"],"published":"2021-08-24","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":"A consensus flaw in go-ethereum can cause a chain split, leading to denial of service for nodes running vulnerable versions.","url":"https://insights.sbomify.com/CVE-2021-39137/"}