{"answers":{"affected":"6 open source packages ship an affected version, including github.com/spacemeshos/go-spacemesh, github.com/spacemeshos/api and github.com/spacemeshos/api/release/go.","exploited":"There is no known exploitation of CVE-2024-34360 in the wild and no public exploit code.","fix":"Upgrade github.com/spacemeshos/go-spacemesh to 1.5.2-hotfix1 or later.","what":"CVE-2024-34360 is a high-severity vulnerability in spacemeshos go-spacemesh, published on 10 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-34360 and fix it if it is affected.\n\nWhat it is: CVE-2024-34360 is a high-severity vulnerability in spacemeshos go-spacemesh, published on 10 May 2024. 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-2024-34360 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/spacemeshos/go-spacemesh (Go): affected all versions; fixed in 1.5.2-hotfix1\n- github.com/spacemeshos/go-spacemesh (Go): affected all versions; fixed in 1.5.2-hotfix1\n- github.com/spacemeshos/go-spacemesh (Go): affected all versions; fixed in 1.5.2-hotfix1\n- github.com/spacemeshos/api (Go): affected all versions; fixed in 1.37.1\n- github.com/spacemeshos/api (Go): affected all versions; fixed in 1.37.1\n- github.com/spacemeshos/api/release/go (Go): affected all versions; fixed in 1.37.1\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-2024-34360/ (Markdown: https://insights.sbomify.com/CVE-2024-34360/index.md)","id":"CVE-2024-34360","markdown":"https://insights.sbomify.com/CVE-2024-34360/index.md","name":"CVE-2024-34360","record":{"aliases":["GHSA-jcqq-g64v-gcm7","GO-2024-2831"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"Spacemesh full node","requires_auth":"none","summary":"Attackers can exploit incorrect ATX validation to unfairly earn rewards by holding PoST data for less than one epoch.","user_interaction":"not_required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"description":"go-spacemesh is a Go implementation of the Spacemesh protocol full node. Nodes can publish activations transactions (ATXs) which reference the incorrect previous ATX of the Smesher that created the ATX. ATXs are expected to form a single chain from the newest to the first ATX ever published by an identity. Allowing Smeshers to reference an earlier (but not the latest) ATX as previous breaks this protocol rule and can serve as an attack vector where Nodes are rewarded for holding their PoST data for less than one epoch but still being eligible for rewards. This vulnerability is fixed in go-spacemesh 1.5.2-hotfix1 and Spacemesh API 1.37.1.","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":"Previous ATX is not checked to be the newest valid ATX by Smesher when validating incoming ATX","id":"CVE-2024-34360","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"business_logic","year":"2024"},"n_packages":6,"n_references":3,"next":{"headline":"Pi-hole Blind Server-Side Request Forgery (SSRF) vulnerability can lead to Remote Code Execution (RCE)","id":"CVE-2024-34361"},"packages":[{"ecosystem":"Go","fixed":["1.37.1"],"introduced":["0"],"last_affected":[],"package":"github.com/spacemeshos/api","purl":null,"source":"GHSA-jcqq-g64v-gcm7"},{"ecosystem":"Go","fixed":["1.37.1"],"introduced":["0"],"last_affected":[],"package":"github.com/spacemeshos/api","purl":"pkg:golang/github.com/spacemeshos/api","source":"GHSA-jcqq-g64v-gcm7"},{"ecosystem":"Go","fixed":["1.37.1"],"introduced":["0"],"last_affected":[],"package":"github.com/spacemeshos/api/release/go","purl":"pkg:golang/github.com/spacemeshos/api/release/go","source":"GO-2024-2831"},{"ecosystem":"Go","fixed":["1.5.2-hotfix1"],"introduced":["0"],"last_affected":[],"package":"github.com/spacemeshos/go-spacemesh","purl":null,"source":"GHSA-jcqq-g64v-gcm7"},{"ecosystem":"Go","fixed":["1.5.2-hotfix1"],"introduced":["0"],"last_affected":[],"package":"github.com/spacemeshos/go-spacemesh","purl":"pkg:golang/github.com/spacemeshos/go-spacemesh","source":"GHSA-jcqq-g64v-gcm7"},{"ecosystem":"Go","fixed":["1.5.2-hotfix1"],"introduced":["0"],"last_affected":[],"package":"github.com/spacemeshos/go-spacemesh","purl":"pkg:golang/github.com/spacemeshos/go-spacemesh","source":"GO-2024-2831"}],"prev":{"headline":"llama-cpp-python vulnerable to Remote Code Execution by Server-Side Template Injection in Model Metadata","id":"CVE-2024-34359"},"products":["go-spacemesh"],"published":"2024-05-10","related":[],"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":"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-08-02","vendors":["spacemeshos"]},"summary":"Attackers can exploit incorrect ATX validation to unfairly earn rewards by holding PoST data for less than one epoch.","url":"https://insights.sbomify.com/CVE-2024-34360/"}