{"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-2023-40591 in the wild and no public exploit code.","fix":"Upgrade github.com/ethereum/go-ethereum to a fixed version for your release line: 1.12.1 or 1.12.1-stable.","what":"CVE-2023-40591 is a high-severity denial of service vulnerability in go-ethereum, published on 6 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-40591 and fix it if it is affected.\n\nWhat it is: CVE-2023-40591 is a high-severity denial of service vulnerability in go-ethereum, published on 6 Sep 2023. 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-2023-40591 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.12.1\n- github.com/ethereum/go-ethereum (Go): affected all versions; fixed in 1.12.1-stable\n- github.com/ethereum/go-ethereum (Go): affected all versions; fixed in 1.12.1-stable\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-2023-40591/ (Markdown: https://insights.sbomify.com/CVE-2023-40591/index.md)","id":"CVE-2023-40591","markdown":"https://insights.sbomify.com/CVE-2023-40591/index.md","name":"CVE-2023-40591","record":{"aliases":["GHSA-ppjg-v974-84cm","GO-2023-2046"],"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":"none","summary":"Attackers can cause denial of service in go-ethereum nodes by sending malicious p2p messages that trigger unbounded memory consumption.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"go_ethereum","vendor":"ethereum"}],"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:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"go-ethereum (geth) is a golang execution layer implementation of the Ethereum protocol. A vulnerable node, can be made to consume unbounded amounts of memory when handling specially crafted p2p messages sent from an attacker node. The fix is included in geth version `1.12.1-stable`, i.e, `1.12.2-unstable` and onwards. Users are advised to upgrade. There are no known workarounds for this vulnerability.","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":"Denial of service via malicious p2p message in go-ethereum","id":"CVE-2023-40591","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"Reflected Cross-site Scripting (XSS) on \"/app/search/table\" web endpoint","id":"CVE-2023-40592"},"packages":[{"ecosystem":"Go","fixed":["1.12.1"],"introduced":["0"],"last_affected":[],"package":"github.com/ethereum/go-ethereum","purl":"pkg:golang/github.com/ethereum/go-ethereum","source":"GO-2023-2046"},{"ecosystem":"Go","fixed":["1.12.1-stable"],"introduced":["0"],"last_affected":[],"package":"github.com/ethereum/go-ethereum","purl":null,"source":"GHSA-ppjg-v974-84cm"},{"ecosystem":"Go","fixed":["1.12.1-stable"],"introduced":["0"],"last_affected":[],"package":"github.com/ethereum/go-ethereum","purl":"pkg:golang/github.com/ethereum/go-ethereum","source":"GHSA-ppjg-v974-84cm"}],"prev":{"headline":"Untrusted search path on Windows systems leading to arbitrary code execution","id":"CVE-2023-40590"},"products":["go-ethereum"],"published":"2023-09-06","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 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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-26","vendors":["ethereum"]},"summary":"Attackers can cause denial of service in go-ethereum nodes by sending malicious p2p messages that trigger unbounded memory consumption.","url":"https://insights.sbomify.com/CVE-2023-40591/"}